summaryrefslogtreecommitdiffstats
path: root/templates/vid.md
blob: b50349c44a88c4200f351be4eb40b7d248d35b39 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
<div class="vid" data-id="<TMPL_VAR vidid>">
<video controls preload="metadata" id="<TMPL_VAR vidid>">
<source src="<TMPL_VAR src>" type="<TMPL_VAR type>" />
<TMPL_IF subtitles>
<track label="English" kind="captions" srclang="en" src="<TMPL_VAR subtitles>" default />
</TMPL_IF>
<p><em>Your browser does not support the video tag, please download the video instead.</em></p>
</video>
<div class="resources">
  <a href="<TMPL_VAR src>"><TMPL_IF download><TMPL_VAR download><TMPL_ELSE>Download video</TMPL_IF><TMPL_IF duration>, <TMPL_VAR duration></TMPL_IF><TMPL_IF size>, <TMPL_VAR size></TMPL_IF></a><br />
  <TMPL_IF subtitles><a href="<TMPL_VAR subtitles>">Download captions</a><br /></TMPL_IF>
</div>
</div>