summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@atreju.jones.dk>2014-09-03 16:38:14 +0200
committerroot <root@atreju.jones.dk>2014-09-03 16:38:14 +0200
commit8d122288d61a1509d2203193989d43376834e4b0 (patch)
tree237886ed84585711dfa5334ec83beff19f0c1d5d
parentf6ea19c0a49ad1312650262aaa452405c47feb37 (diff)
Simplyfy type hints, as recommended at <http://demos.flowplayer.org/videotest/canplay.html>.
-rwxr-xr-xlocalvideowebencode6
1 files changed, 3 insertions, 3 deletions
diff --git a/localvideowebencode b/localvideowebencode
index c545e50..324c05c 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -283,9 +283,9 @@ heightplus=${height:+$(($height+4))}
cat >"$stem.html" <<EOF
<!-- Video for Everybody, Kroc Camen of Camen Design -->
<video width="$width" height="$height" preload controls>
-<source src="$stem.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
-<source src="$stem.webm" type='video/webm; codecs="vp8, vorbis"' />
-<source src="$stem.ogv" type='video/ogg; codecs="theora, vorbis"' />
+<source src="$stem.mp4" type="video/mp4" />
+<source src="$stem.webm" type="video/webm" />
+<source src="$stem.ogv" type="video/ogg" />
${flash:+<object width="$width" height="$heightplus" type="application/x-shockwave-flash" data="$flashplayer.swf">
<param name="movie" value="$flashplayer.swf" />
<param name="flashvars" value="image=$stem.jpg&amp;file=$stem.mp4" />