Captions Timed Text Markup Language (TTML / DFXP) format
Timed Text Markup Language (TTML) allows for rich formated text in timed media
Read more about the TTML/DFXP standard.
This player has two caption files associated with it, the
first file
demonstrates spatial alignment and default white on black text, the
second file titled "colors" demonstrates
TTML style tags being used to give the text alternate background and text color.
Note: Not all closeCaption style overrides will cleanly apply to CMML that already has formatting rules
defined.
Supported features of DFXP
Features supported as <metadata> tag as a child of <p> supports attributes:
- ccrow - determines the row position out of 15 lines
- cccol - determines the column position out of 35 columns
The <p> tags hold captions, attributes:
- begin - start time for the caption
- end - end time for the captions
- tts:textAlign - center, left, right
- styleId - which can include a ref to defined <style> tag
<style> tag attributes:
- tts:color - maps to html css color property ( hex or English name )
- tts:fontWeigh - maps to html css font-weight property
- tts:fontStyle - maps to as font-style css property