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