Skip to content

Instantly share code, notes, and snippets.

@subhanahmed047
Last active March 3, 2021 04:52
Show Gist options
  • Save subhanahmed047/a3d6ff493cc6e9a9adbdc0efcabd45a8 to your computer and use it in GitHub Desktop.
Save subhanahmed047/a3d6ff493cc6e9a9adbdc0efcabd45a8 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="16px"
tts:textAlign="center"
/>
</styling>
<layout xmlns:tts="http://www.w3.org/ns/ttml#styling">
<region xml:id="subtitleArea"
style="s1"
tts:padding="5px 3px"
tts:origin="20% 80%"
tts:extent="80% 100%"
/>
</layout>
</head>
<body region="subtitleArea">
<div>
<p xml:id="subtitle1" begin="0.00s" end="30.00s">
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