THEOplayer > TextTracksList
Inherits from TrackList<TextTrack>. See parent page for inherited properties and methods.
List of text tracks.
Signature:
export interface TextTracksList extends TrackList<TextTrack>
Property |
Type |
Description |
---|---|---|
|
The number of text tracks in the list. |
Method |
Description |
---|---|
Return the text track at the requested index in the list. |
The number of text tracks in the list.
Signature:
readonly length: number;
Return the text track at the requested index in the list.
Signature:
item(index: number): TextTrack;
Parameter |
Type |
Description |
---|---|---|
index |
|
A |
The text track with index index
in the list.