summaryrefslogtreecommitdiff
path: root/localvideowebencode
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-02-09 15:25:25 +0100
committerJonas Smedegaard <dr@jones.dk>2021-02-09 15:25:25 +0100
commit13febbb02acd3cf46d845f3b076bbac2b21b8ed4 (patch)
treef23a0ebf9f354982dda8b2d4946700524de28477 /localvideowebencode
parentd2af80d0bbc244933ee0537e682e915148d43c0e (diff)
fix VP9 container type in html video tag
Diffstat (limited to 'localvideowebencode')
-rwxr-xr-xlocalvideowebencode2
1 files changed, 1 insertions, 1 deletions
diff --git a/localvideowebencode b/localvideowebencode
index 1c1f43d..cdaa0ab 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -858,7 +858,7 @@ __height="${_height:+ height=\"$_height\"}"
__heightplus=${_height:+ height=\"$((_height+4))\"}
_source_ogv="<source src=\"$stem.ogv\" type=\"video/ogg\" />"
_source_webm="<source src=\"$stem.webm\" type=\"video/webm\" />"
-_source_webm_vp9="<source src=\"${stem}_vp9.webm\" type='video/ogg; codecs=\"vp9, opus\"' />"
+_source_webm_vp9="<source src=\"${stem}_vp9.webm\" type='video/webm; codecs=\"vp9, opus\"' />"
_source_mp4="<source src=\"$stem.mp4\" type=\"video/mp4\" />"
[ -z "$flashplayer" ] || flash=yes
[ -n "$mp4" ] || [ -z "$flash" ] || error1 "Cannot enable flash when mp4 format is disabled."