summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2021-11-22 16:35:30 -0500
committerSacha Chua <sacha@sachachua.com>2021-11-22 16:35:30 -0500
commitab9e2e42b55579c45ab0b1f7182eb024f87d94ed (patch)
tree69a6ad3bd689de493bbddc95519c3447ecf7c2a9 /templates
parent0a09f78a872aae3e9cfa3551642365bc357e75c8 (diff)
downloademacsconf-wiki-ab9e2e42b55579c45ab0b1f7182eb024f87d94ed.tar.xz
emacsconf-wiki-ab9e2e42b55579c45ab0b1f7182eb024f87d94ed.zip
Wrap in a div
Diffstat (limited to 'templates')
-rw-r--r--templates/vid.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/vid.md b/templates/vid.md
index 23c31285..6e6850b1 100644
--- a/templates/vid.md
+++ b/templates/vid.md
@@ -1,4 +1,4 @@
-<div class="vid">
+<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>
@@ -6,6 +6,8 @@
</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>
+ <TMPL_IF subtitles><a href="<TMPL_VAR subtitles>">Download captions</a> </TMPL_IF>
+</div>
</div>
-<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>
-<TMPL_IF subtitles><a href="<TMPL_VAR subtitles>">Download captions</a> </TMPL_IF> \ No newline at end of file