TTMLDocument

Represents a parsed DFXP TTML document. This object model does not fully implement the W3C TTML specification, however, and has implemented the features required for VMN video players.

See also

<a href="http://www.w3.org/TR/ttaf1-dfxp/">http://www.w3.org/TR/ttaf1-dfxp/</a>

Constructors

Link copied to clipboard
constructor(regions: Map<String, Region>, styles: Map<String, StyledElement>, body: Block, captions: List<BrightcoveClosedCaption>)
Initializes a TTMLDocument with the required components that comprise a TTML document.

Properties

Link copied to clipboard
open val body: Block
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open fun getRegions(): Map<String, Region>
Retrieves a java.util.Map of the com.brightcove.player.model.Region objects in this document, keyed by their names.