summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-03-26 11:09:26 +0200
committerJonas Smedegaard <dr@jones.dk>2017-03-26 11:09:26 +0200
commit54d9e7a59136905c54b468b70db64004d05485a0 (patch)
treecdf52cce86f8df325721090d926ff764ab66241c /templates
parent1ffeabc47248aea06b8ca076b351a1374664998a (diff)
Tighten video tag when live.
Diffstat (limited to 'templates')
-rw-r--r--templates/video.mdwn6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/video.mdwn b/templates/video.mdwn
index d0ae6d1..1cab1b6 100644
--- a/templates/video.mdwn
+++ b/templates/video.mdwn
@@ -6,9 +6,9 @@
</TMPL_UNLESS><TMPL_UNLESS nowebm><source src="//media.couchdesign.dk/<TMPL_VAR stem>.mp4" type="video/mp4" />
</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." />
-<TMPL_ELSE><video <TMPL_IF name>id="<TMPL_VAR name>"</TMPL_IF> playsinline autoplay muted controls>
+</video>
+<TMPL_ELSE><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></video>
-</div>
+</TMPL_IF></div>
</div>