diff options
author | root <root@atreju.jones.dk> | 2014-09-03 16:12:14 +0200 |
---|---|---|
committer | root <root@atreju.jones.dk> | 2014-09-03 16:12:14 +0200 |
commit | 32082286955d4b3f3d9808b230c43fd7c2c8b79b (patch) | |
tree | 289e9a980738a89e9afecc6fa9960ff908584996 | |
parent | 67adef6097699e4b99f469c587e55c7022ff7193 (diff) |
Fix offer WebM over Ogg.
-rwxr-xr-x | localvideowebencode | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localvideowebencode b/localvideowebencode index cbb4d4d..8ec2908 100755 --- a/localvideowebencode +++ b/localvideowebencode @@ -255,8 +255,8 @@ 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.ogv" type='video/ogg; codecs="theora, vorbis"' /> <source src="$stem.webm" type='video/webm; codecs="vp8, vorbis"' /> +<source src="$stem.ogv" type='video/ogg; codecs="theora, vorbis"' /> ${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&file=$stem.mp4" /> @@ -265,8 +265,8 @@ ${flash:+<object width="$width" height="$heightplus" type="application/x-shockwa ${flash:+</object> }</video> <p><strong>Download Video:</strong> -open format <a href="$stem.ogv">Ogg</a>, open format <a href="$stem.webm">WebM</a>, +open format <a href="$stem.ogv">Ogg</a>, closed Format <a href="$stem.mp4">MP4</a>. </p> EOF |