diff options
Diffstat (limited to 'localvideowebencode')
-rwxr-xr-x | localvideowebencode | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/localvideowebencode b/localvideowebencode index 131667a..d43285a 100755 --- a/localvideowebencode +++ b/localvideowebencode @@ -146,8 +146,8 @@ cat >"$filebase.html" <<EOF <video width="$width" height="$height" preload controls> <source src="$filebase.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' /> <source src="$filebase.ogg" type='video/ogg; codecs="theora, vorbis"' /> -${webm:+<source src="$filebase.webm" type='video/webm; codecs="vp8, vorbis"' /> -}${flash:+<object width="$width" height="$heightplus" type="application/x-shockwave-flash" data="$flashplayer.swf"> +<source src="$filebase.webm" type='video/webm; codecs="vp8, 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=$filebase.jpg&file=$filebase.mp4" /> }<img src="$filebase.jpg" width="$width" height="$height" alt="$title" @@ -156,7 +156,7 @@ ${flash:+</object> }</video> <p><strong>Download Video:</strong> open format <a href="$filebase.ogg">Ogg</a>, -${webm:+open format <a href="$filebase.webm">WebM</a>,} +open format <a href="$filebase.webm">WebM</a>, closed Format <a href="$filebase.mp4">MP4</a>. </p> EOF |