Optionalconfig: Partial<PlayerConfig>Audio API.
The underlying HTML element, or undefined if not yet created.
Whether a main media source is currently loaded and ready.
The currently loaded main media, or undefined if nothing is loaded.
Observable stream of player lifecycle and playback events.
Current player session state (playback position, audio/text selection, etc.).
Text API.
Extracts video frame from current playhead position
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.
Whether the player is currently in fullscreen mode.
Loads the primary media source.
URL of the media source.
OptionalloadOptions: MainMediaLoadOptionsOptional load configuration (frame rate, DRM data, poster, etc.).
Observable that emits the MainMedia once its load stage reaches success.
Loads a sidecar track (audio or text) from a Source object or URL string.
A Source object or URL string pointing to the sidecar data.
OptionalloadOptions: TrackLoadOptionsOptional configuration specifying track type, text, or audio options.
Observable that emits the loaded Track.
OptionalloadOptions: TrackLoadOptionsPauses playback.
Starts or resumes playback.
Removes all sidecar tracks.
Removes a single sidecar track by its id.
Restores a previously persisted player session (playback position, audio/text state, etc.).
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.
Player API.