summaryrefslogtreecommitdiff
path: root/localvideowebencode
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-02-13 16:35:38 +0100
committerJonas Smedegaard <dr@jones.dk>2021-02-13 16:35:55 +0100
commit20fdf4f3ee0828d377dbd1735166cb4927a1d690 (patch)
tree58087d3ccd128d62b6c048c1d2f0c571f03eac99 /localvideowebencode
parente28a7cadea7c879a97e7404ba165a9d6c2c805db (diff)
add poster attribute to final html
Diffstat (limited to 'localvideowebencode')
-rwxr-xr-xlocalvideowebencode2
1 files changed, 1 insertions, 1 deletions
diff --git a/localvideowebencode b/localvideowebencode
index 5632685..0d6e00b 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -947,7 +947,7 @@ __mp4file=${mp4:+closed format <a href=\"$stem.mp4\">MPEG-4/AVC</a>}
cat >"$stem.html" <<EOF
<!-- Video for Everybody, Kroc Camen of Camen Design -->
-<video$__width$__height preload controls>
+<video$__width$__height preload controls poster="$stem.jpg">
${mp4:+$_source_mp4
}${webm_vp9:+$_source_webm_vp9
}${webm:+$_source_webm