ReadonlyabrThe player's adaptive bitrate (ABR) configuration.
ReadonlyadsThe API for advertisements.
Used to set the aspect ratio of the player.
List of audio tracks of the current source.
Whether the player should immediately start playback after source change.
The active configuration for background audio playback.
ReadonlybroadcastEvent Broadcast API.
Returns a list of TimeRanges that represents the ranges of the media resource that are buffered by the player.
ReadonlycastThe API for casting devices.
The programDateTime for the current playback position of the media, in milliseconds.
The current playback position of the media, in milliseconds.
ReadonlydurationThe duration of the media, in milliseconds.
ReadonlyheightThe height of the player.
Toggle the wake-lock on the player view. The screen will time out if disabled.
Whether the player manages the display criteria of the TV to match the content.
- Only supported on tvOS.
- When enabled, and while the player is presented fullscreen, the player sets the display's preferred frame rate and dynamic range to match the content before playback starts.
- The display only follows these criteria when the viewer enabled content matching on tvOS in "Settings" > "Video and Audio" > "Match Content".
- A display mode switch can briefly blank the screen, so only enable this on a single, fullscreen-presented player.
Optional ReadonlymediaThe API for media controls.
ReadonlymetricsThe API for player metrics.
Determines whether audio is muted.
ReadonlynativeNative player handle.
ReadonlypausedWhether the player is paused.
The active configuration for PiP.
Used to set the playback rate of the media.
The preload setting of the player.
The PresentationMode of the player. Can be switched to: picture-in-picture, fullscreen or inline
OptionalrenderingSpecifies where the player is displaying the video.
Returns a list of TimeRanges that represents the ranges of the media resource that are seekable by the player.
ReadonlyseekingWhether the player is seeking.
Used to set the current selected audio track by passing its uid, or undefined to select none.
Used to set the current selected text track by passing its uid, or undefined to select none.
Used to set the current selected video track by passing its uid, or undefined to select none.
A source description that determines the current media resource.
Used to set the current selected video quality by passing its uid, or undefined to select none.
List of text tracks of the current source.
ReadonlytextThe text track style API.
ReadonlytheoadsThe API for THEOads advertisements.
ReadonlytheoThe API for THEOlive.
ReadonlyversionThe player version.
use sdkVersions instead.
ReadonlyvideoThe height of the active video rendition, in pixels.
List of video tracks of the current source.
ReadonlyvideoThe width of the active video rendition, in pixels.
Used to set the volume of the audio.
ReadonlywidthThe width of the player.
Add the given listener for the given event type(s).
The type of the event.
The callback which is executed when the event occurs.
Pause playback.
Start or resume playback.
Remove the given listener for the given event type(s).
The type of the event.
The callback which will be removed.
The THEOplayer API.