diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-03-26 15:36:56 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-03-26 15:36:56 +0200 |
commit | 22961e6512d7ec9dc1b1c288dab232ee594610c4 (patch) | |
tree | ab695fb13a9a56c777149e51acc97b114e89da36 /templates | |
parent | 2bd564959efbcdd8ac6c905c95ebf575110d6a6c (diff) |
Add counter above live video, Bootstrap-styled as a well.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/video.mdwn | 3 |
1 files changed, 2 insertions, 1 deletions
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> |