From 8d531976a109b5bf80ab07b3ce776c9f99e16fbd Mon Sep 17 00:00:00 2001 From: "Andriy Kushnir (Orhideous)" Date: Thu, 16 Jun 2022 22:16:12 +0300 Subject: [PATCH] Recognize MIME for transcoded audio in streams Fixes: #3663 See: jellyfin/jellyfin#6941 --- src/plugins/htmlAudioPlayer/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/htmlAudioPlayer/plugin.js b/src/plugins/htmlAudioPlayer/plugin.js index baa396dbb8..adbd291663 100644 --- a/src/plugins/htmlAudioPlayer/plugin.js +++ b/src/plugins/htmlAudioPlayer/plugin.js @@ -74,7 +74,7 @@ function enableHlsPlayer(url, item, mediaSource, mediaType) { type: 'HEAD' }).then(function (response) { const contentType = (response.headers.get('Content-Type') || '').toLowerCase(); - if (contentType === 'application/x-mpegurl') { + if (contentType === 'application/vnd.apple.mpegurl') { resolve(); } else { reject();