diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-09-24 22:20:18 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-09-24 22:22:48 +0200 |
commit | 3e1b1bd9ed85bc533f9fa2a6af2f73d4015c9fd1 (patch) | |
tree | d08cd73b798854a21935f75042a40ceb1405678b /localvideowebencode | |
parent | ce43d1f9a3d12c260cc3f95b8cde4476333ad0de (diff) |
Present downloads as unnumbered list.
Diffstat (limited to 'localvideowebencode')
-rwxr-xr-x | localvideowebencode | 12 |
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&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 |