The identifier of the track.
- This identifier can be used to distinguish between related tracks, e.g. tracks in the same list.
The kind of the track.
- The values for this property depend on the specific type of the track.
The label of the track.
The language of the track.
A unique identifier of the track.
- This identifier is unique across tracks of a THEOplayer instance and can be used to distinguish between tracks.
- This identifier is a randomly generated number.
Add the given listener for the given event type(s).
The type of the event.
The callback which is executed when the event occurs.
Remove the given listener for the given event type(s).
The type of the event.
The callback which will be removed.
Generated using TypeDoc
Represents a track of a media resource.
Remarks
- A specific track type (e.g. TextTrack) will always be used.