summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-03-26 19:15:45 +0200
committerJonas Smedegaard <dr@jones.dk>2017-03-26 19:15:45 +0200
commit45f6d5a2a7591e601f76566ed1e9863f263f3fd0 (patch)
tree9f3c8412976f1f500eac40336e678a0e9e9397f7 /templates
parent67f567aed0b5462efa542c732c1bc9f90f4459ba (diff)
Fixe move counter out of video wrapper.
Diffstat (limited to 'templates')
-rw-r--r--templates/video.mdwn10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/video.mdwn b/templates/video.mdwn
index cd571ce..ae42b5d 100644
--- a/templates/video.mdwn
+++ b/templates/video.mdwn
@@ -1,5 +1,9 @@
<div class="video">
<h2><TMPL_VAR title></h2>
+<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>
<div class="embed-responsive">
<TMPL_IF stem><video <TMPL_IF name>id="<TMPL_VAR name>"</TMPL_IF> class="embed-responsive-item" playsinline autoplay muted poster="//media.couchdesign.dk/<TMPL_VAR stem>.jpg" controls>
<TMPL_UNLESS nomp4><source src="//media.couchdesign.dk/<TMPL_VAR stem>.webm" type="video/webm" />
@@ -7,11 +11,7 @@
</TMPL_UNLESS><img src="//media.couchdesign.dk/<TMPL_VAR stem>.jpg" width="<TMPL_VAR width>" height="<TMPL_VAR height>"
title="Sorry, the video formats provided are not supported by your browser." />
</video>
-<TMPL_ELSE><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>
-<video <TMPL_IF name>id="<TMPL_VAR name>"</TMPL_IF> class="embed-responsive-item" playsinline autoplay muted controls />
+<TMPL_ELSE><video <TMPL_IF name>id="<TMPL_VAR name>"</TMPL_IF> class="embed-responsive-item" playsinline autoplay muted controls />
[[!meta script="/js/lib/adapter.js"]]
[[!meta script="/js/lib/janus.nojquery.js"]]
<script type="text/javascript" src="/js/app/live-video.js"></script>