Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Subtitle

Definition of a subtitle/caption track.

Hierarchy

  • Subtitle

Index

Properties

id

id: string

Used to identify and set the subtitle track.

Optional isFragmented

isFragmented: boolean

Only used for fragmented subtitles in HLS

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.

url

url: string

The URL of the file where the subtitles are loaded from..

Generated using TypeDoc