~vincent-vandevyvre/qarte/qarte-3

« back to all changes in this revision

Viewing changes to arteconcert.py

  • Committer: Vincent Vande Vyvre
  • Date: 2018-02-22 08:30:06 UTC
  • Revision ID: vincent.vandevyvre@oqapy.eu-20180222083006-m3xrhw7rf2wqtcyy
Update arte concerts page

Show diffs side-by-side

added added

removed removed

Lines of Context:
852
852
    #---------------------------------------------------------
853
853
    def preview_current_video(self):
854
854
        if self.player.is_on_pause:
 
855
            self.page.set_running_player()
855
856
            self.player.start()
856
857
            return
857
858
 
890
891
 
891
892
    def pause_preview(self):
892
893
        self.page.set_player_pause()
893
 
        self.player.pause()
 
894
        self.player.set_on_pause()
894
895
 
895
896
    def stop_preview(self):
896
897
        self.player.finish()