summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-03-26 10:55:32 +0200
committerJonas Smedegaard <dr@jones.dk>2017-03-26 10:55:32 +0200
commit1ffeabc47248aea06b8ca076b351a1374664998a (patch)
treeebb6ab2919763d599fe472a304be902d85d8c31f /templates
parent0a1d95aa722099a60d21e5c3a9868821501d19b8 (diff)
Load live-video code as needed.
Diffstat (limited to 'templates')
-rw-r--r--templates/video.mdwn2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/video.mdwn b/templates/video.mdwn
index f3d210b..d0ae6d1 100644
--- a/templates/video.mdwn
+++ b/templates/video.mdwn
@@ -7,6 +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." />
<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>
</div>