hub.video
Play video clips on the hub’s screen.
Videos must be MJPEG .avi files that fit the 160x128 screen. Give
the full path, for example "/sd/clip.avi".
Functions
|
|
|
Play a video (without sound). |
|
Play a video with its sound. |
|
Stop the video that is playing. |
Module Contents
- hub.video.play(path: str, *, block: bool = True) None[source]
Play a video (without sound).
Normally waits until the video ends. With
block=Falseit starts the video and your program continues right away — useis_finished()to check when it’s done.