reference
enumerations
Playback Event

Enumeration: PLAYBACK_EVENT

Enum representing playback events.

Enumeration Members

AUDIO_CHANGED

AUDIO_CHANGED: "playback.audio.changed"

Fired when the audio track changes

Defined in

modules/events/events.dto.ts:42 (opens in a new tab)


AUTOLEVEL_CHANGED

AUTOLEVEL_CHANGED: "playback.autoLevel.changed"

Fired when the automatic quality level changes

Defined in

modules/events/events.dto.ts:36 (opens in a new tab)


BUFFERED_CHANGED

BUFFERED_CHANGED: "playback.buffered.changed"

Fired when the amount of buffered media changes

Defined in

modules/events/events.dto.ts:32 (opens in a new tab)


DESTROY

DESTROY: "playback.destroy"

Fired when the player instance is destroyed

Defined in

modules/events/events.dto.ts:26 (opens in a new tab)


DURATION_CHANGED

DURATION_CHANGED: "playback.duration.changed"

Fired when the duration attribute has been updated

Defined in

modules/events/events.dto.ts:22 (opens in a new tab)


ENDED

ENDED: "playback.ended"

Fired when playback has stopped because the end of the media was reached

Defined in

modules/events/events.dto.ts:18 (opens in a new tab)


ERROR

ERROR: "playback.error"

Fired when an error occurred while fetching the media data, or the type of the resource is not a supported media format

Defined in

modules/events/events.dto.ts:28 (opens in a new tab)


LEVELS_LOADED

LEVELS_LOADED: "playback.levels.loaded"

Fired when the available quality levels are loaded

Defined in

modules/events/events.dto.ts:38 (opens in a new tab)


LEVEL_CHANGED

LEVEL_CHANGED: "playback.level.changed"

Fired when the current quality level changes

Defined in

modules/events/events.dto.ts:40 (opens in a new tab)


LOADEDMETADATA

LOADEDMETADATA: "playback.loadedmetadata"

Fired when the metadata has been loaded

Defined in

modules/events/events.dto.ts:10 (opens in a new tab)


LOADSTART

LOADSTART: "playback.loadstart"

Fired when the browser has started to load the resource

Defined in

modules/events/events.dto.ts:8 (opens in a new tab)


PAUSE

PAUSE: "playback.pause"

Fired when playback has been paused

Defined in

modules/events/events.dto.ts:14 (opens in a new tab)


PLAY

PLAY: "playback.play"

Fired when playback has begun

Defined in

modules/events/events.dto.ts:12 (opens in a new tab)


PLAYBACKRATE_CHANGE

PLAYBACKRATE_CHANGE: "playback.playbackrate.change"

Fired when the playback rate has changed

Defined in

modules/events/events.dto.ts:34 (opens in a new tab)


PLAYING

PLAYING: "playback.playing"

Fired when playback is ready to start after having been paused or delayed due to lack of data

Defined in

modules/events/events.dto.ts:16 (opens in a new tab)


TIMEUPDATE

TIMEUPDATE: "playback.timeupdate"

Fired when the time indicated by the currentTime attribute has been updated

Defined in

modules/events/events.dto.ts:20 (opens in a new tab)


VOLUME_CHANGED

VOLUME_CHANGED: "playback.volume.changed"

Fired when the volume has changed

Defined in

modules/events/events.dto.ts:30 (opens in a new tab)


WAITING

WAITING: "playback.waiting"

Fired when playback has stopped because of a temporary lack of data

Defined in

modules/events/events.dto.ts:24 (opens in a new tab)