Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TextCue

Contains information for the display of subtitles and captions including styling and positioning.

Hierarchy

Index

Properties

endTime

endTime: number

The time when the cue should be cleared.

line

line: number

The line on which the text belongs.

position

position: number

The position of the text as a fraction of the cue box within the video.

size

size: number

The size of the cue as a percentage of the video.

startTime

startTime: number

The time when the cue should be displayed.

text

text: string

The text of the cue.

type

type: "TextCue" | "TextMetadataCue"

Generated using TypeDoc