ReadonlycurrentThe current playback position of the content, as a timestamp,
or null if the content does not have program date time information.
ReadonlycurrentThe current playback position of the content, in seconds.
ReadonlydurationThe duration of the content, in seconds, or NaN if unknown.
ReadonlyendedWhether playback of the content has ended.
ReadonlyerrorThe current error of the content player, or undefined if there is no error.
ReadonlymutedWhether the content audio is muted.
ReadonlypausedWhether the content is paused.
ReadonlyplaybackThe playback rate of the content.
ReadonlyreadyThe ready state of the content player, using the same values as ChromelessPlayer.readyState.
ReadonlyseekableThe ranges of the content that are seekable, in seconds.
For a live stream, an integration can use this to choose a valid position.
ReadonlyseekingWhether the content is seeking.
ReadonlytextThe text tracks of the content, including metadata tracks such as ID3, EMSG or date range tracks.
ReadonlyvideoThe height of the content video, or 0 if unknown.
ReadonlyvideoThe width of the content video, or 0 if unknown.
ReadonlyvolumeThe content volume, as a number between 0 and 1.
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 read-only playback state of a content player.
For a server-side ad integration, this is the state of the stitched stream, which includes the ads. For a client-side ad integration, this is the state of the content only: it is not affected by linear ads from this or any other integration. While a linear ad plays, the content stays paused at the position where it was interrupted, even if the ad is played in the same video element as the content.
See
CustomAdIntegrationController.content