# cast.[framework](https://developers.google.com/cast/docs/reference/web_sender/cast.framework).RemotePlayer

class static

Remote player properties which are updated by
`cast.framework.RemotePlayerController`.

## Constructor

### RemotePlayer

new
RemotePlayer()

Implements
:   castx.common.RemotePlayer.PlayerInterface

## Properties

### breakClipId

(string or undefined)

ID of the current break clip.

### breakId

(string or undefined)

ID of the current break.

### canControlVolume

boolean

Indicate the receiver support changing volume.

### canPause

boolean

True if receiver allows pause.

### canSeek

boolean

True if receiver allows seeking.

### controller

nullable ControllerInterface

The controller for the player.

### currentBreakClipNumber

number

The number of the current playing break clip in the break.

### currentBreakClipTime

(number or undefined)

Time in seconds elapsed after the current break clip starts.

### currentBreakTime

(number or undefined)

Time in seconds elapsed after the current break starts.

### currentTime

number

The current media playback position in seconds.
In order to do playback seek, change this value and call
[cast.framework.RemotePlayerController#seek](https://developers.google.com/cast/docs/reference/web_sender/cast.framework.RemotePlayerController#seek).
When media is playing, this value will update every second.

### displayName

string

Receiver application display name.

### displayStatus

string

Receiver status for display: it is the media title, if available,
or, otherwise, the receiver status text.

### duration

number

The duration of current loaded media in seconds.

### imageUrl

nullable string

Currently playing media thumbnail url.

### isConnected

boolean

True if the app is connected to a cast device.

### isMediaLoaded

boolean

True if media is loaded on the cast device.

### isMuted

boolean

True if device is muted.

### isPaused

boolean

True if current media is paused.

### isPlayingBreak

boolean

Indicate that the receiver is playing a break.

### liveSeekableRange

(non-null [chrome.cast.media.LiveSeekableRange](https://developers.google.com/cast/docs/reference/web_sender/chrome.cast.media.LiveSeekableRange) or undefined)

Seekable range of a live or event stream. It uses relative media time
in seconds. It will be undefined for VOD streams.

### mediaInfo

nullable [chrome.cast.media.MediaInfo](https://developers.google.com/cast/docs/reference/web_sender/chrome.cast.media.MediaInfo)

Currently playing media info.

### numberBreakClips

number

Number of break clips in current break.

### playerState

nullable [chrome.cast.media.PlayerState](https://developers.google.com/cast/docs/reference/web_sender/chrome.cast.media#.PlayerState)

Current media playback state.

### queueData

(non-null [chrome.cast.media.QueueData](https://developers.google.com/cast/docs/reference/web_sender/chrome.cast.media.QueueData) or undefined)

Queue data.

### savedPlayerState

nullable {mediaInfo: nullable [chrome.cast.media.PlayerState](https://developers.google.com/cast/docs/reference/web_sender/chrome.cast.media#.PlayerState), currentTime: number, isPaused: boolean}

Remote player state saved when the session has disconnected.
Can be used to continue playing locally from same location
on disconnect event.

### statusText

string

Descriptive text for the current application content.

### title

nullable string

Current media title.

### videoInfo

(non-null [chrome.cast.media.VideoInformation](https://developers.google.com/cast/docs/reference/web_sender/chrome.cast.media.VideoInformation) or undefined)

The video information.

### volumeLevel

number

The current receiver volume level as a value between 0.0 and 1.0.
1.0 is the maximum volume possible on the receiver or stream.
In order to change receiver volume, change this value and call
[cast.framework.RemotePlayerController#setVolumeLevel](https://developers.google.com/cast/docs/reference/web_sender/cast.framework.RemotePlayerController#setVolumeLevel).

### whenSkippable

(number or undefined)

The time in seconds when this break clip becomes skippable. 5 means that
the end user can skip this break clip after 5 seconds. If this field is
not defined, it means that the current break clip is not skippable.