Readonly
abrThe player's adaptive bitrate (ABR) configuration.
Readonly
adsThe API for advertisements.
Used to set the aspect ratio of the player.
Only available for iOS and Android.
List of audio tracks of the current source.
Whether the player should immediately start playback after source change.
The active configuration for PiP.
Readonly
broadcastEvent Broadcast API.
Returns a list of TimeRanges that represents the ranges of the media resource that are buffered by the player.
Readonly
castThe API for casting devices.
The current playback position of the media, in milliseconds.
Readonly
durationThe duration of the media, in milliseconds.
Readonly
heightThe height of the player.
Toggle the wake-lock on the player view. The screen will time out if disabled.
true
Only available on Android.
Determines whether audio is muted.
Readonly
nativeNative player handle.
Readonly
pausedWhether the player is paused.
The active configuration for PiP.
Used to set the playback rate of the media.
<br/> - `playbackRate = 0.70` will slow down the playback rate of the media by 30%.
<br/> - `playbackRate = 1.25` will speed up the playback rate of the media by 25%.
- Playback rate is represented by a number where 1
is default playback speed.
- Playback rate must be a positive number.
- It is recommended that you limit the range to between 0.5 and 4.
The preload setting of the player.
The PresentationMode of the player. Can be switched to: picture-in-picture
, fullscreen
or inline
Optional
renderingSpecifies where the player is displaying the video.
SURFACE_VIEW
Only available for Android.
Returns a list of TimeRanges that represents the ranges of the media resource that are seekable by the player.
Readonly
seekingWhether 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.
Readonly
textThe text track style API.
Only available for Web.
List of text tracks of the current source.
Readonly
versionThe player version.
use sdkVersions instead.
List of video tracks of the current source.
Used to set the volume of the audio.
- Volume is represented by a floating point number between 0.0
and 1.0
.
Readonly
widthThe 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.
Remove the given listener for the given event type(s).
The type of the event.
The callback which will be removed.
The THEOplayer API.