Skip to content

Instantly share code, notes, and snippets.

@hoox
Created March 2, 2021 04:48
Show Gist options
  • Save hoox/82618e498bb24a064ba08d5b94add9bb to your computer and use it in GitHub Desktop.
Save hoox/82618e498bb24a064ba08d5b94add9bb to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<tt xmlns="http://www.w3.org/ns/ttml">
<head>
<metadata xmlns:ttm="http://www.w3.org/ns/ttml#metadata">
<ttm:title>Sample</ttm:title>
</metadata>
<styling xmlns:tts="http://www.w3.org/ns/ttml#styling">
<style xml:id="s1"
tts:color="white"
tts:fontFamily="proportionalSansSerif"
tts:fontSize="22px"
tts:textAlign="center"
/>
</styling>
<layout xmlns:tts="http://www.w3.org/ns/ttml#styling">
<region xml:id="subtitleArea"
style="s1"
tts:extent="560px 62px"
tts:padding="5px 3px"
tts:backgroundColor="black"
tts:displayAlign="after"
/>
</layout>
</head>
<body region="subtitleArea">
<div>
<p xml:id="subtitle1" begin="0.00s" end="0.30s">
The Web is always changing
</p>
</div>
</body>
</tt>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment