Skip to main content
Version: v7 Beta

Interface: TextTrack

Defined in: types/TextTrack.ts:1

Properties

id

id: string;

Defined in: types/TextTrack.ts:5

Unique identifier for the text track


label

label: string;

Defined in: types/TextTrack.ts:10

Display label for the text track


language?

optional language: string;

Defined in: types/TextTrack.ts:16

Language code (ISO 639-1 or ISO 639-2)

Example

"en", "es", "fr"

selected

selected: boolean;

Defined in: types/TextTrack.ts:21

Whether this track is currently selected