Пример #1
0
 def build(self):
     # config = self.config
     video = Video(source=filename)
     video.state = 'play'
     video.options = {'eos': 'loop'}
     video.allow_stretch = True
     return video
Пример #2
0
 def build(self):
     video = Video(source='D:/w3b/python-practice/kivy-av-mark2/video-sample/test-two.mp4')
     video.state = 'play'
     video.options = {'eos': 'loop'}
     video.allow_stretch = False
     return video
Пример #3
0
 def build(self):
     video = Video(source='C:/Users/Vibhuti/Downloads/allahuakbar.mp4')
     video.state = 'play'
     video.options = {'eos': 'loop'}
     video.allow_stretch = True
     return video