mirror of https://github.com/calzoneman/sync.git
Fix MIME mapping for ogg/vorbis -> audio/ogg
This commit is contained in:
parent
b3c85e8534
commit
2eb17f4c32
|
@ -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
|
||||
|
|
|
@ -654,7 +654,7 @@
|
|||
case 'mp3':
|
||||
return 'audio/mp3';
|
||||
case 'vorbis':
|
||||
return 'audio/vorbis';
|
||||
return 'audio/ogg';
|
||||
default:
|
||||
return 'video/flv';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue