Fast forward/rewind function

The codes for fast forward and rewind are the simplest. We have already defined the methods to handle this in the Player class. Now, it's only a matter of connecting them to the concerned command callback, as follows:

def on_fast_forward_button_clicked(self):
self.player.fast_forward()

def on_rewind_button_clicked(self):
self.player.rewind()
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.144.56