diff options
-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 77671b7..e5a73be 100644 --- a/templates/video.mdwn +++ b/templates/video.mdwn @@ -8,8 +8,8 @@ <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> -<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 nowebm><source src="//media.couchdesign.dk/<TMPL_VAR stem>.webm<TMPL_IF t>#t=<TMPL_VAR t></TMPL_IF>" type="video/webm" /> +</TMPL_UNLESS><TMPL_UNLESS nomp4><source src="//media.couchdesign.dk/<TMPL_VAR stem>.mp4<TMPL_IF t>#t=<TMPL_VAR t></TMPL_IF>" 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> |