summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
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..bdb89ea 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</TMPL_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>