summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>