Version: 2.67.0

Track

THEOplayer > Track

Track interface

Inherits from EventDispatcher<TrackEventMap> . See parent page for inherited properties and methods.

Represents a track of a media resource.

Signature:
export interface Track extends EventDispatcher<TrackEventMap>

Properties

Property

Type

Description

id

string

The identifier of the track.

kind

string

The kind of the track.

label

string

The label of the track.

language

string

The language of the track.

uid

number

A unique identifier of the track.

Remarks


- A specific track type (e.g. [TextTrack](/docs/api-reference/theoplayer-texttrack)) will always be used.