summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/video.mdwn11
1 files changed, 5 insertions, 6 deletions
diff --git a/templates/video.mdwn b/templates/video.mdwn
index bdb89ea..77671b7 100644
--- a/templates/video.mdwn
+++ b/templates/video.mdwn
@@ -1,10 +1,9 @@
-<div class="video">
-<TMPL_IF title><h2><TMPL_VAR title></h2>
-</TMPL_IF><TMPL_IF note><p><TMPL_VAR note></p>
-</TMPL_IF><TMPL_IF start><div id="counter" class="well"></div>
+<div class="video"><TMPL_IF title>
+<h2><TMPL_VAR title></h2></TMPL_IF><TMPL_IF note>
+<p><TMPL_VAR note></p></TMPL_IF><TMPL_IF start>
+<div id="counter" class="well"></div>
[[!meta script="/js/lib/countdown.js"]]
-<script type="text/javascript" src="/js/app/counter.js"></script>
-</TMPL_IF>
+<script type="text/javascript" src="/js/app/counter.js"></script></TMPL_IF>
<div class="embed-responsive embed-responsive-<TMPL_IF aspect><TMPL_VAR aspect><TMPL_ELSE>4by3</TMPL_IF>">
<video <TMPL_IF live-app>id="<TMPL_VAR live-app>"</TMPL_IF> class="embed-responsive-item" playsinline poster="//media.couchdesign.dk/<TMPL_VAR stem>.jpg" controls>
<TMPL_UNLESS nom3u8><source src="//media.couchdesign.dk/<TMPL_VAR stem>.m3u8" type="application/vnd.apple.mpegURL" />