Enumeration PlayerState

An enumeration describing Player state updates.

To listen to events, use Player.addEventListener.

Events

BUFFERING

Indicates that the Player is buffering content and playback stopped.

void

ENDED

Indicates that the Player reached the end of a video or a live stream ends.

void

IDLE

Indicates that the Player is idle or paused. This is the initial state.

void

PLAYING

Indicates that the Player is playing.

void

READY

Indicates that the Player is ready to play the loaded video or live stream.

void