Constructor

LoadRequest

new LoadRequest(mediaInfo)

A request to load new media into the player.

Parameter

mediaInfo

chrome.cast.media.MediaInfo

Media description.

Value must not be null.

Properties

activeTrackIds

Array of number

Array of Track trackIds that should be active. If the array is not provided, the default tracks will be active. If two incompatible trackIds are provided (for example two active audio tracks) the command will fail with INVALID_PARAMETER.

autoplay

boolean

Whether the media will automatically play.

currentTime

nullable number

Seconds from the beginning of the media to start playback.

customData

Object

Custom data for the receiver application.

media

non-null chrome.cast.media.MediaInfo

Media description.

requestId

number

sessionId

nullable string

Identifies the application session that will load the media.

type

string