Version: 2.67.0

TrackList

THEOplayer > TrackList

TrackList interface

Inherits from Track> extends ReadonlyArray<TTrack>, EventDispatcher<TrackListEventMap> . See parent page for inherited properties and methods.

List of tracks.

Signature:
export interface TrackList<TTrack extends Track> extends ReadonlyArray<TTrack>, EventDispatcher<TrackListEventMap>

Properties

Property

Type

Description

length

number

The number of tracks in the list.

Methods

Method

Description

item(index)

Return the track at the requested index in the list.