Video class


on_loaded(self, handler: Callable[[], None]) -> Disposable

Handles the loading event for this video.

pause(self) -> None

Pauses video playback.

play(self) -> None

Starts video playback.

stop(self) -> None

Stops video.


current_position float

Defines the track position of this video.

readonly duration float
looping bool

Toggles video looping. If true, video playback starts from start when end is reached.

readonly playing bool
volume float

Defines normalized volume of this video. Value is clamped to range [0,1]