summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-03-26 15:36:56 +0200
committerJonas Smedegaard <dr@jones.dk>2017-03-26 15:36:56 +0200
commit22961e6512d7ec9dc1b1c288dab232ee594610c4 (patch)
treeab695fb13a9a56c777149e51acc97b114e89da36
parent2bd564959efbcdd8ac6c905c95ebf575110d6a6c (diff)
Add counter above live video, Bootstrap-styled as a well.
-rw-r--r--show.mdwn2
-rw-r--r--templates/video.mdwn3
2 files changed, 3 insertions, 2 deletions
diff --git a/show.mdwn b/show.mdwn
index 064cf49..963d170 100644
--- a/show.mdwn
+++ b/show.mdwn
@@ -1 +1 @@
-[[!template id=video name="live-video" title="FREE Live Webinar"]]
+[[!template id=video name="live-video" title="FREE Live Webinar" start="1494946800000"]]
diff --git a/templates/video.mdwn b/templates/video.mdwn
index 1cab1b6..0b914b1 100644
--- a/templates/video.mdwn
+++ b/templates/video.mdwn
@@ -7,7 +7,8 @@
</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><video <TMPL_IF name>id="<TMPL_VAR name>"</TMPL_IF> playsinline autoplay muted controls />
+<TMPL_ELSE><TMPL_IF start><div id="counter" class="well"></div></TMPL_IF>
+<video <TMPL_IF name>id="<TMPL_VAR name>"</TMPL_IF> playsinline autoplay muted controls />
[[!meta script="/js/lib/janus.nojquery.js"]]
<script type="text/javascript" src="/js/app/live-video.js"></script>
</TMPL_IF></div>