Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TextCue

Contains information for the display of subtitles and captions including styling and positioning. Note: currently IVS streams do not contain positioning or styling information for TextCues. TextCues should be rendered in accordance with user preferences for captions/subtitles and should be cleared/reset when switching streams in the player or after a preset timeout period.

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"

Generated using TypeDoc