summaryrefslogtreecommitdiff
path: root/templates/video.mdwn
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-03-26 18:52:40 +0200
committerJonas Smedegaard <dr@jones.dk>2017-03-26 18:52:40 +0200
commita94de32a88569af0b7d813be8b6cacc354ca6408 (patch)
treeaa9a8e8fa3f1ad3d3ae0095bfa86eee5a975d915 /templates/video.mdwn
parent82d0e75258f09e0adc68de7674f1607ae8a6c57b (diff)
Add Bootstrap classes to video. Move title out of video template.
Diffstat (limited to 'templates/video.mdwn')
-rw-r--r--templates/video.mdwn6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/video.mdwn b/templates/video.mdwn
index c19ef97..df36e7e 100644
--- a/templates/video.mdwn
+++ b/templates/video.mdwn
@@ -1,7 +1,7 @@
<div class="video">
<h2><TMPL_VAR title></h2>
-<div class="videocontainer">
-<TMPL_IF stem><video <TMPL_IF name>id="<TMPL_VAR name>"</TMPL_IF> playsinline autoplay muted poster="//media.couchdesign.dk/<TMPL_VAR stem>.jpg" controls>
+<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" />
</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>"
@@ -11,7 +11,7 @@
[[!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> playsinline autoplay muted controls />
+<video <TMPL_IF name>id="<TMPL_VAR name>"</TMPL_IF> class="embed-responsive-item" 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>