diff --git a/player/raw-file.coffee b/player/raw-file.coffee index 8cf63182..8053cd9c 100644 --- a/player/raw-file.coffee +++ b/player/raw-file.coffee @@ -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 diff --git a/www/js/player.js b/www/js/player.js index 1cf52a40..3e6764cc 100644 --- a/www/js/player.js +++ b/www/js/player.js @@ -654,7 +654,7 @@ case 'mp3': return 'audio/mp3'; case 'vorbis': - return 'audio/vorbis'; + return 'audio/ogg'; default: return 'video/flv'; }