summaryrefslogtreecommitdiff
path: root/localvideowebencode
diff options
context:
space:
mode:
Diffstat (limited to 'localvideowebencode')
-rwxr-xr-xlocalvideowebencode12
1 files changed, 5 insertions, 7 deletions
diff --git a/localvideowebencode b/localvideowebencode
index 20fe19a..966b8c2 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -395,8 +395,6 @@ _param_flashvars="<param name=\"flashvars\" value=\"image=$stem.jpg&amp;file=$st
__oggfile=${ogg:+open format <a href=\"$stem.ogv\">Ogg</a>}
__webmfile=${webm:+open format <a href=\"$stem.webm\">WebM</a>}
__mp4file=${mp4:+closed Format <a href=\"$stem.mp4\">MPEG-4</a>}
-[ -z "$webm" ] || [ -z "$ogg$mp4" ] || webm_and_more=yes
-[ -z "$ogg" ] || [ -z "$mp4" ] || ogg_and_mp4=yes
cat >"$stem.html" <<EOF
<!-- Video for Everybody, Kroc Camen of Camen Design -->
@@ -411,9 +409,9 @@ $_param_flashvars
title="No video playback capabilities, please download the video below" />
${flash:+</object>
}</video>
-<p><strong>Download Video:</strong>
-$__webmfile${webm_and_more:+,
-}$__oggfile${ogg_and_mp4:+,
-}$__mp4file.
-</p>
+<p><strong>Download Video:</strong><ul>
+${webm:+<li>$__webmfile
+}${ogg:+<li>$__oggfile
+}${mp4:+<li>$__mp4file
+}</ul></p>
EOF