summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2020-12-08 22:58:16 -0500
committerSacha Chua <sacha@sachachua.com>2020-12-08 22:58:16 -0500
commit51c2aa7e4b996b045030eac51a8230a77187e6a0 (patch)
treeda3b09576619527ad417edbac32376f52afefb37 /templates
parentfa3fe8ad657978cb1420fd312786d0a5b21da4ef (diff)
downloademacsconf-wiki-51c2aa7e4b996b045030eac51a8230a77187e6a0.tar.xz
emacsconf-wiki-51c2aa7e4b996b045030eac51a8230a77187e6a0.zip
Try again
Diffstat (limited to '')
-rw-r--r--templates/vid.md5
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/vid.md b/templates/vid.md
index ee308e38..d4ab7464 100644
--- a/templates/vid.md
+++ b/templates/vid.md
@@ -1,12 +1,9 @@
<div class="vid">
<video controls preload="metadata">
<source src="<TMPL_VAR src>" type="<TMPL_VAR type>" />
- <TMPL_IF subtitles>
- <track label="English" kind="subtitles" srclang="en" src="<TMPL_VAR subtitles>" default />
- </TMPL_IF>
+ <track label="English" kind="subtitles" srclang="en" src="<TMPL_VAR subtitles>" default />
<p><em>Your browser does not support the video tag,
please download the video instead.</em></p>
</video>
</div>
-<TMPL_VAR subtitles>
<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>