August 2015
Intermediate to advanced
246 pages
4h 21m
English
The video reproduction is a useful tool for any app. In this app, we will load a widget to reproduce a video file in our app.
It is necessary to have a video file in the usual format to be reproduced in our app (.avi, .mov, .mpg, .mp4, .flv, .wmv, .ogg). If you do not have one, you can visit https://commons.wikimedia.org/wiki/Main_Page to get free media.
In this recipe, we are going to use a simple Python file to create our app within a player widget. To complete the task, follow these:
kivy packages.VideoPlayer package.MyW() class.__init__() method.videoplayer with your video.import kivy kivy.require('1.9.0') from ...Read now
Unlock full access