diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-05-15 13:15:42 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-05-15 13:15:42 +0200 |
commit | bc4fcf7ba30fb3ec5681be45bed048758b0dd413 (patch) | |
tree | c2266217f99286bbd0f9d7746c53d49e16e267c7 /templates | |
parent | c9f8f0281ef518033e2b58e7e9e16d8c45197502 (diff) |
Fix swap parts conditional to variables nowebm nomp4.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/video.mdwn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/video.mdwn b/templates/video.mdwn index 5c6a6e2..de5fb58 100644 --- a/templates/video.mdwn +++ b/templates/video.mdwn @@ -7,8 +7,8 @@ <div class="embed-responsive embed-responsive-16by9"> <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 live-app> -<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 nowebm><source src="//media.couchdesign.dk/<TMPL_VAR stem>.webm" type="video/webm" /> +</TMPL_UNLESS><TMPL_UNLESS nomp4><source src="//media.couchdesign.dk/<TMPL_VAR stem>.mp4" type="video/mp4" /> </TMPL_UNLESS></TMPL_UNLESS><img src="//media.couchdesign.dk/<TMPL_VAR stem>.jpg" width="<TMPL_VAR width>" height="<TMPL_VAR height>" title="Sorry, the video formats provided are not supported by your browser." /> </video> |