summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>,