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()