Class TTMLDocument

java.lang.Object
com.brightcove.player.model.CaptionsDocument
com.brightcove.player.model.TTMLDocument
All Implemented Interfaces:
Serializable

public class TTMLDocument extends CaptionsDocument
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:
  • Constructor Details

  • Method Details

    • getStyles

      public Map<String,StyledElement> getStyles()
      Retrieves a Map of the StyledElement objects in this document, keyed by their names.
      Returns:
      the style map
    • getBody

      public Block getBody()
      Retrieves the body Block for this document.
      Returns:
      body block