Fix MIME mapping for ogg/vorbis -> audio/ogg

This commit is contained in:
calzoneman 2016-02-09 19:44:07 -08:00
parent b3c85e8534
commit 2eb17f4c32
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ codecToMimeType = (codec) ->
when 'matroska/vp8', 'matroska/vp9' then 'video/webm'
when 'ogg/theora' then 'video/ogg'
when 'mp3' then 'audio/mp3'
when 'vorbis' then 'audio/vorbis'
when 'vorbis' then 'audio/ogg'
else 'video/flv'
window.FilePlayer = class FilePlayer extends VideoJSPlayer

View File

@ -654,7 +654,7 @@
case 'mp3':
return 'audio/mp3';
case 'vorbis':
return 'audio/vorbis';
return 'audio/ogg';
default:
return 'video/flv';
}