Including multimedia for Windows

The GStreamer modules are not included by default in the previous recipe. In that sense, you could not load multimedia files in our app packaged for Windows. This is because the GStreamer is highly dependent on the operating system. To solve this, we must import the OS Python package. In this recipe, we are going to create a package of an app that can run a video.

Getting ready

We will use an app that has multimedia. This recipe is going to be similar to Working with video in Chapter 7, The API in Detail. In that recipe, we used just one Python file.

# e2.py import kivy kivy.require('1.9.0') # replace with your current kivy version ! from kivy.app import App from kivy.uix.widget import Widget from kivy.uix.videoplayer ...

Get Kivy Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.