diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-05-18 17:07:50 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-05-18 17:07:50 +0200 |
commit | d2411123acfa2c81aa56a9c3df0d0229ea0c3ca7 (patch) | |
tree | 0ad1042b3ad9329174f4e67074f63185477d64fb /templates | |
parent | 856ac60b55af5f0f411d5a04ca4a14fdc1a972c4 (diff) |
Switch video template to aspect ratio 4:3.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/video.mdwn | 2 |
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> |