summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiri Reiter <siri@jones.dk>2014-09-01 00:32:40 +0200
committerSiri Reiter <siri@jones.dk>2014-09-01 00:32:40 +0200
commita81add644c7659dc68fc333e413b6a7b12277561 (patch)
tree645175100da06b54cae270d1a1a6a0abd1bf403d
parent8317a14e4d88b8d4182b2b259702c8b664e338ba (diff)
Improved video template.
-rw-r--r--templates/video.mdwn12
1 files changed, 8 insertions, 4 deletions
diff --git a/templates/video.mdwn b/templates/video.mdwn
index e015adc1..b31087db 100644
--- a/templates/video.mdwn
+++ b/templates/video.mdwn
@@ -1,11 +1,15 @@
<div class="video">
<h2><TMPL_VAR title></h2>
<video width="<TMPL_VAR width>" height="<TMPL_VAR height>" preload controls>
-<source src="//media.bynu.biks.dk/<TMPL_VAR stem>.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
-<TMPL_UNLESS noogg><source src="//media.bynu.biks.dk/<TMPL_VAR stem>.ogv" type='video/ogg; codecs="theora, vorbis"' />
-</TMPL_UNLESS><TMPL_UNLESS nowebm><source src="//media.bynu.biks.dk/<TMPL_VAR stem>.webm" type='video/webm; codecs="vp8, vorbis"' />
-</TMPL_UNLESS><img src="//media.bynu.biks.dk/<TMPL_VAR stem>.jpg" width="<TMPL_VAR width>" height="<TMPL_VAR height>"
+<source src="//media.bynu.biks.dk/<TMPL_VAR stem>.mp4" type="video/mp4" />
+<TMPL_UNLESS noogg><source src="//media.bynu.biks.dk/<TMPL_VAR stem>.ogv" type="video/ogg" />
+</TMPL_UNLESS><TMPL_UNLESS nowebm><source src="//media.bynu.biks.dk/<TMPL_VAR stem>.webm" type="video/webm" />
+</TMPL_UNLESS><object width="<TMPL_VAR width>" height="<TMPL_VAR height>" type="application/x-shockwave-flash" data="http://vjs.zencdn.net/4.7/video-js.swf">
+<param name="movie" value="http://vjs.zencdn.net/4.7/video-js.swf" />
+<param name="flashvars" value="src=//media.bynu.biks.dk/<TMPL_VAR stem>.mp4" />
+<img src="//media.bynu.biks.dk/<TMPL_VAR stem>.jpg" width="<TMPL_VAR width>" height="<TMPL_VAR height>" alt="<TMPL_VAR title>"
title="Ingen videounderstøttelse, hent videoen i stedet." />
+</object>
</video>
<p><strong>Hent video:</strong>
<TMPL_UNLESS noogg><a href="//media.bynu.biks.dk/<TMPL_VAR stem>.ogg">Ogg</a>,