Skip to Content
The new glomex player is released! 🎉View upgrade guide

Interface: TextTrack

Properties

id

id: string

Unique identifier for the track.


kind

kind: TextTrackKind

The kind of text track.

See

https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/kind 


label

label: string

The title of the text track.


src

src: string

The URL of the track file.


srclang

srclang: string

The language of the track text data. Must be a valid BCP 47 language tag.


default?

optional default: boolean

Whether the track should be enabled by default. Only one track per kind can be enabled by default.

Default Value

false
Last updated on