diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-05-18 17:50:07 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-05-18 17:51:13 +0200 |
commit | 618edfe93ae596ef448e9e103011bad05c7a94ad (patch) | |
tree | 1ebe0936bfc64257b81a745ae8c32a486b76416f | |
parent | d0f1ca871f2b45b1b3af4ce32099cf094dbdc5a6 (diff) |
Re-apply corrected "Switch video template to aspect ratio 4:3."
This reverts commit d0f1ca871f2b45b1b3af4ce32099cf094dbdc5a6.
-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..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> |