mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #3716 from Orhideous/fix/mimetype
Recognize MIME for transcoded audio in streams
(cherry picked from commit 721bc54dbd
)
Signed-off-by: Bill Thornton <billt2006@gmail.com>
This commit is contained in:
parent
372291e937
commit
8d46c7bddc
1 changed files with 1 additions and 1 deletions
|
@ -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' || contentType === 'application/x-mpegurl') {
|
||||
resolve();
|
||||
} else {
|
||||
reject();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue