Version: 2.69.0

MediaTrackList.item()

THEOplayer > MediaTrackList > item

MediaTrackList.item() method

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

Signature:
item(index: number): MediaTrack;

Parameters

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

MediaTrack

The media track with index index in the list.