logo

THEOplayer > TextTrackEventMap

TextTrackEventMap interface

Inherits from TrackEventMap . See parent page for inherited properties and methods.

The events fired by a .

Signature:

export interface TextTrackEventMap extends TrackEventMap 

Properties

Property

Type

Description

addcue

TextTrackAddCueEvent

Fired when a cue is added to the track.

cuechange

TextTrackCueChangeEvent

Fired when the displaying cues of the text track changes.

entercue

TextTrackEnterCueEvent

Fired when a cue of the track enters.

error

TextTrackErrorEvent

Fired when an error occurred while loading or parsing the track.

exitcue

TextTrackExitCueEvent

Fired when a cue of the track exits.

readystatechange

TextTrackReadyStateChangeEvent

Fired when the text track's changes.

removecue

TextTrackRemoveCueEvent

Fired when a cue of the track is removed.

typechange

TextTrackTypeChangeEvent

Fired when the text track's changes.

Property Details

addcue

Fired when a cue is added to the track.

Signature:

addcue: TextTrackAddCueEvent;

cuechange

Fired when the displaying cues of the text track changes.

Signature:

cuechange: TextTrackCueChangeEvent;

entercue

Fired when a cue of the track enters.

Signature:

entercue: TextTrackEnterCueEvent;

error

Fired when an error occurred while loading or parsing the track.

Signature:

error: TextTrackErrorEvent;

exitcue

Fired when a cue of the track exits.

Signature:

exitcue: TextTrackExitCueEvent;

readystatechange

Fired when the text track's changes.

Signature:

readystatechange: TextTrackReadyStateChangeEvent;

removecue

Fired when a cue of the track is removed.

Signature:

removecue: TextTrackRemoveCueEvent;

typechange

Fired when the text track's changes.

Signature:

typechange: TextTrackTypeChangeEvent;
github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2022. All Rights Reserved.
Leuven
New York
Singapore
Barcelona