Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TextTrack

Definition of a text track.

Hierarchy

Index

Properties

id

id: string

The id of the media track that is used to identify and set the track.

Optional isFragmented

isFragmented: undefined | false | true

Indicates whether the subtitle is fragmented.

kind

kind: string

The subtitle type, either "caption" or "subtitle" (default: "subtitle").

label

label: string

The text used to represent this track to the user (e.g. in the UI).

lang

lang: string

The language of the subtitle/caption track.

Optional role

The optional roles of the track.

Optional url

url: undefined | string

The URL to the associated file.

Generated using TypeDoc