Skip to main content

Interface: TextTrack

A subtitle/caption text track exposed by the current source.

Properties​

id​

id: string

Stable track id, used with EvePlayer.setTextTrack.


kind​

kind: string

Track kind: subtitles, captions, descriptions.


label​

label: string

Human-readable label shown in the subtitles/CC menu.


language​

language: string

BCP-47 language code.


mode​

mode: "hidden" | "disabled" | "showing"

Display mode: disabled (not rendered), hidden (cues processed, not shown), showing (rendered on the video).