Version: 2.67.0

TTMLCue

THEOplayer > TTMLCue

TTMLCue interface

Inherits from TextTrackCue . See parent page for inherited properties and methods.

Represents a cue of a TTML text track.

Signature:
export interface TTMLCue extends TextTrackCue

Properties

Property

Type

Description

content

any

The content of the cue.

metadata

Element

The <metadata> Element of the corresponding TTML document.

regions

Record<string, StylePropertyRecord>

A record of style for the cue. Each entry contains all style properties for a region id.

styles

Record<string, StylePropertyRecord>

A record of styles for the cue. Each entry contains all style properties for a style id.