Fix issue with webm and opus video
This commit is contained in:
parent
44cb3b85f8
commit
16f1657097
|
@ -104,7 +104,7 @@ function getCodec (name: string) {
|
||||||
'.mkv': 'video/webm; codecs="avc1.640029, mp4a.40.5"',
|
'.mkv': 'video/webm; codecs="avc1.640029, mp4a.40.5"',
|
||||||
'.mp3': 'audio/mpeg',
|
'.mp3': 'audio/mpeg',
|
||||||
'.mp4': 'video/mp4; codecs="avc1.640029, mp4a.40.5"',
|
'.mp4': 'video/mp4; codecs="avc1.640029, mp4a.40.5"',
|
||||||
'.webm': 'video/webm; codecs="vorbis, vp8"'
|
'.webm': 'video/webm; codecs="opus, vorbis, vp8"'
|
||||||
}[ext]
|
}[ext]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue