Enumeration PlayerState

An enumeration describing Player state updates.

To listen to events, use addEventListener.

Events

BUFFERING: "Buffering"

Indicates that the Player is buffering content and playback stopped.

Updated

getState

Param

void

ENDED: "Ended"

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

Updated

getState

Param

void

IDLE: "Idle"

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

Updated

getState

Param

void

PLAYING: "Playing"

Indicates that the Player is playing.

Updated

getState

Param

void

READY: "Ready"

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

Updated

getState getQualities

Param

void

Generated using TypeDoc