diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-06-04 16:59:05 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-06-04 16:59:05 +0200 |
commit | b3bf98cfb3356df8c9c4a4302c2cbd4cd663b507 (patch) | |
tree | 74baa46a12febca23530328c7a3e97405af03c0a /templates | |
parent | 2571388e5faaeb68ab90b8f898bd0674229b6187 (diff) |
Support video fragment t.
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 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> |