import kivy
kivy.require('1.0.4')

from os.path import dirname, join
from kivy.app import App
from kivy.uix.video import Video
from kivy.uix.scatter import Scatter


class VideoPlayer(App):

    def build(self):
        curdir = dirname(__file__)
        filename = join(curdir, 'bigbuckbunny_trailer.m4v')
        video = Video(source=filename, play=True)
        scatter = Scatter()
        video.bind(texture_size=scatter.setter('size'))
        scatter.add_widget(video)
        return scatter


if __name__ in ('__main__', '__android__'):
    VideoPlayer().run()

@@ -28,16 +28,37 @@
 .0.4')%0A%0A
+from sys import argv%0A
 from os.
@@ -226,16 +226,91 @@
 (self):%0A
+        if len(argv) %3E 1:%0A            filename = argv%5B1%5D%0A        else:%0A    
         
@@ -336,16 +336,20 @@
 file__)%0A
+    
         

add the possibility to test other video from commandline