Location (URL) of the valid DFXP or SRT captions file.
Decides whether to show the captions on startup or not (true/false). Later value is stored as cookie.
Default font size (14px).
Default font size in fullscreen mode (20px). It's useful to have bigger font size in fullscreen!
Default text color (default white) in hex format.
Default font family.
Default text alignment.
CC button position (default is right bottom corner). Other possible setting are: LB, LT, RT
Offset for CC button measured in pixels from defined corner position.
<?xml version="1.0" encoding="UTF-8"?>
<tt xml:lang="en" xmlns="http://www.w3.org/2006/04/ttaf1" xmlns:tts="http://www.w3.org/2006/04/ttaf1#styling">
<head>
<styling>
<style id="1" tts:fontWeight="bold" tts:fontSize="18" />
<style id="2" tts:fontStyle="italic" tts:fontSize="18" />
<style id="3" tts:fontSize="18" />
<style id="4" tts:color="#FF0000" tts:fontSize="18" />
<style id="5" tts:fontFamily="Times New Roman" tts:fontSize="18" />
<style id="6" tts:color="#00FF00" tts:fontWeight="bold" tts:fontStyle="italic" tts:fontSize="16" />
<style id="7" tts:textDecoration="underline" tts:fontSize="18" />
<style id="8" tts:fontStyle="italic" tts:textDecoration="underline" />
<style id="9" tts:fontSize="16" />
</styling>
</head>
<body>
<div xml:lang="en">
<p begin="00:00:02.0" end="00:00:05.9">This is example of movie captions.</p>
<p begin="00:00:06.0" end="00:00:12.9">Captions can be supplied with XML file in TimedText or SRT format.</p>
<p begin="00:00:13.0" end="00:00:19.9">Captions can be formatted with basic HTML styles.</p>
<p begin="00:00:20.1" end="00:00:26.0" style="3">You can change captions font size</p>
<p begin="00:00:26.1" end="00:00:31.0" style="1">You can set captions font Bold</p>
<p begin="00:00:31.1" end="00:00:36.0" style="2">You can set captions font style Italic</p>
<p begin="00:00:36.1" end="00:00:40.9" style="4">You can change captions text color!</p>
<p begin="00:00:41.1" end="00:00:46.9" style="5">You can change captions text font!<br />This is Times New Roman now.</p>
<p begin="00:00:47.1" end="00:00:52.9" style="7">You can set captions text decoration style (normal, underline)!</p>
<p begin="00:00:53.1" end="00:00:58.9" style="6">You can use multiple formatting types for single style!
Now you can see italic bold font, 16px size.</p>
<p begin="00:00:59.1" end="00:01:07.9" style="9">You can use <span tts:fontWeight="bold">multiple</span> different <span style="8">styles</span> for parts of your <span tts:color="#FF0000">captions!</span></p>
<p begin="00:01:08.0" end="00:01:30.0">Copyright © 2008-2011 NuevoLab.com.</p>
</div>
</body>
</tt>
1
00:00:02,000 --> 00:00:5,900
This is example of movie captions.
2
00:00:06,000 --> 00:00:12,900
Captions can be supplied with <u>XML</u> file in <font color="#ff0000">TimedText</font> or SRT format.
3
00:00:41,100 --> 00:00:46,900
You can change captions text font!
This is <b>Times New Roman</b> now.