Interface TrackEventMap

The events fired by a Track.

interface TrackEventMap {
    change: TrackChangeEvent;
    update: TrackUpdateEvent;
}

Hierarchy (view full)

Properties

Properties

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

Fired when the track updates.

Remarks


- A track might update because a change propagated from a remote player (e.g. Chromecast).