Video widget: provide a video container

Video widget: provide a video container

class pymt.ui.widgets.composed.video.MTVideo(**kwargs)

Bases: pymt.ui.widgets.composed.video.MTSimpleVideo

MTVideo is a video player, with control buttons. You can use it like this

video = MTVideo(filename='source_file')
Parameters :
filename : str

Filename of video

bordersize : int, default to 10

Border size of the video

hide_controls()

Hides the video controls

show_controls()

Makes the video controls visible

Previous topic

TextInput: a text input who instance vkeyboard if needed

Next topic

VKeyboard: Virtual keyboard with custom layout support

This Page