The content of the cue.
- The content is an intermediate TTML document’s body element. This is a view of a TTML document where all nodes in the document are active during the cue’s startTime and endTime. As a result, all begin, dur and end properties have been removed. TTML Styles, Regions and Metadata are stored in cue.styles, cue.regions, cue.metadata respectively. Combining those properties with the given content should suffice to render a TTML cue.
The playback position at which the cue becomes inactive, in seconds.
The extent of the TTML root container region,
as specified by the tts:extent
attribute of the <tt>
element.
The identifier of the cue.
The <metadata>
Element of the corresponding TTML document.
A record of style for the cue. Each entry contains all style properties for a region id.
The playback position at which the cue becomes active, in seconds.
A record of styles for the cue. Each entry contains all style properties for a style id.
The text track of the cue.
Readonly
uidA unique identifier of the text track cue.
- This identifier is unique across text track cues of a THEOplayer instance and can be used to distinguish between cues.
- This identifier is a randomly generated number.
Add the given listener for the given event type(s).
The type of the event.
The callback which is executed when the event occurs.
Remove the given listener for the given event type(s).
The type of the event.
The callback which will be removed.
Represents a cue of a TTML text track.