BetaBeta
Get the Picture object that contains the video frames. This Picture is owned by the Video and should not be manually disposed.
Beta
Check if this object has been disposed
Beta
Load video from raw data.
Video file bytes
A promise that resolves when the video is ready, or rejects on a decode error.
Beta
Start or resume playback.
OptionalonFrame: (time: number) => void
Optional callback invoked on each frame update
Beta
Pause playback
Beta
Stop playback and rewind to the start.
Beta
Enable or disable repeated playback.
Beta
Seek to a specific time (in seconds)
Beta
Get or set the audio volume level in the range [0.0, 1.0].
Beta
Get or set the audio volume level in the range [0.0, 1.0].
Beta
Mute or unmute the audio.
Beta
Whether the audio is currently muted.
Beta
Current playback position in seconds.
Beta
Total duration in seconds.
Beta
Dispose of the video, its worker and WASM resources.
Video controller. The Video owns a Picture internally and manages frame updates
Example