non-null Array of number
Active track ids of current media.
non-null Array of number
Array of breaks positions in percentage.
Title of the current playing break.
The number of the current playing break clip in the break.
Media current position in seconds, or break current position if playing break.
User custom state, Should be used to separate playback and UI logic, to allow same UI code to run in a remote control. The state can be set by calling cast.framework.PlayerManager#sendCustomState
Whether the player metadata (ie: title, currentTime) should be displayed. This will be true if at least one field in the metadata should be displayed. In some cases, displayStatus will be true, but parts of the metadata should be hidden (ie: the media title while media is seeking). In these cases, additional css can be applied to hide those elements. For cases where the media is audio-only, this will almost always be true. In cases where the media is video, this will be true when: (1) the video is loading, buffering, or seeking (2) a play request was made in the last five seconds while media is already playing, (3) there is a request made to show the status in the last five seconds, or (4) the media was paused in the last five seconds.
Property to differentiate between different screen types. TV is default.
Media duration in seconds, Or break duration if playing break.
Indicate that break clip can be skipped at the current moment. True when whenSkippable == 0.
Indicate if the content is a live stream.
Indicate that the receiver is playing a break.
Indicate the player is seeking (can be either during playing or pausing).
Indicate the seekable range of the content if it is a live stream.
(nullable cast.framework.messages.MediaInformation or undefined)
Current media information.
Unique id for media session. It is updated when a new load request is received.
Indicates absolute time (Epoch time in seconds) for live streams. For live event it would be the time the event started, otherwise it will be start of the seekable range when the streaming started.
(nullable cast.framework.messages.MediaMetadata or nullable Object)
Next Item subtitle.
Next Item thumbnail url.
Next Item title.
Number of break clips in current break.
Media playback rate.
Flag to show/hide next item metadata.
(nullable cast.framework.messages.QueueData or undefined)
Indicate the section duration in seconds.
Indicate the section start time, in media time in seconds.
Current player state.
The commands supported by this player.
- See also
Content thumbnail url.
(number or undefined)
Provide the time remaining till a break will become skippable relative to current playback time. Undefined or a negative value if break is not skippable.