summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-05-18 17:07:50 +0200
committerJonas Smedegaard <dr@jones.dk>2017-05-18 17:07:50 +0200
commitd2411123acfa2c81aa56a9c3df0d0229ea0c3ca7 (patch)
tree0ad1042b3ad9329174f4e67074f63185477d64fb /templates
parent856ac60b55af5f0f411d5a04ca4a14fdc1a972c4 (diff)
Switch video template to aspect ratio 4:3.
Diffstat (limited to 'templates')
-rw-r--r--templates/video.mdwn2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/video.mdwn b/templates/video.mdwn
index 23bcd64..9407b81 100644
--- a/templates/video.mdwn
+++ b/templates/video.mdwn
@@ -5,7 +5,7 @@
[[!meta script="/js/lib/countdown.js"]]
<script type="text/javascript" src="/js/app/counter.js"></script>
</TMPL_IF>
-<div class="embed-responsive embed-responsive-16by9">
+<div class="embed-responsive embed-responsive-<TMPL_IF aspect><TMPL_VAR aspect><TMPL_ELSE>4by3</IF>">
<video <TMPL_IF live-app>id="<TMPL_VAR live-app>"</TMPL_IF> class="embed-responsive-item" playsinline poster="//media.couchdesign.dk/<TMPL_VAR stem>.jpg" controls>
<TMPL_UNLESS nom3u8><source src="//media.couchdesign.dk/<TMPL_VAR stem>.m3u8" type="application/vnd.apple.mpegURL" />
</TMPL_UNLESS><TMPL_UNLESS live-app>