Version: 2.69.0

TextTracksList.item()

THEOplayer > TextTracksList > item

TextTracksList.item() method

Return the text track at the requested index in the list.

Signature:
item(index: number): TextTrack;

Parameters

ParameterTypeDescription
indexnumberA number representing the index of a text track in the list.
Returns:

TextTrack

The text track with index index in the list.