Observable stream of player lifecycle and playback events.
Current player session state (playback position, audio/text selection, etc.).
Converts a time value from one MediaTemporalFormat to another (e.g. seconds → timecode, frame count → percent).
The time value to convert.
The format of the input value.
The desired output format.
Optionaloptions: VideoKeyframeOptionsReturns the current playback time. Defaults to seconds; pass a MediaTemporalFormat to get the value in another format (frame count, percent, timecode, media time, countdown).
Returns the media duration. Defaults to seconds; pass a MediaTemporalFormat to get the value in another format.
OptionalloadOptions: TrackLoadOptionsPauses playback.
Starts or resumes playback.
Seeks by a relative offset from the current playback position. The value is interpreted according to the given MediaTemporalFormat (defaults to seconds).
Observable that emits true if the seek succeeded.
Seeks to an absolute position. The value is interpreted according to the given MediaTemporalFormat (defaults to seconds).
Observable that emits true if the seek succeeded.
Sets the playback rate.
Decimal value in the range [0.1, 16]. For example, 2 plays at 2x speed.
Toggles between fullscreen and windowed display.
Unloads the current main media and releases associated resources.
Whether a main media source is currently loaded and ready.