displaying video

This commit is contained in:
langolierz
2017-10-12 02:56:08 +00:00
parent d8bfce2d15
commit aa46b2fa2d
2 changed files with 6 additions and 3 deletions

View File

@@ -112,7 +112,10 @@ class video_player(object):
return self.omx.end_play_signal
def get_position(self):
return self.omx.video_position
if self.is_loaded():
return self.omx.video_position
else:
return 0
def play_content(self):
self.status = 'PLAYING'