Version: 2.67.0

TrackEventMap

THEOplayer > TrackEventMap

TrackEventMap interface

The events fired by a Track.

Signature:
export interface TrackEventMap

Properties

Property

Type

Description

addcue

Event

Fired when a cue is added to the track.

change

Event

Fired when a media track's enabled or a text track's mode changes.

cuechange

Event

Fired when a cue of the track changes.

entercue

Event

Fired when a cue of the track enters.

exitcue

Event

Fired when a cue of the track exits.

readystatechange

Event

Fired when the text track's ready state changes.

removecue

Event

Fired when a cue of the track is removed.

typechange

Event

Fired when the text track's type changes.

update

Event

Fired when the track updates.