mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Change check order to match the comment
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
70c8b439b1
commit
762ea7f147
1 changed files with 1 additions and 1 deletions
|
@ -487,7 +487,7 @@ export default function (options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Safari supports mp3 with HLS, but only in mpegts container, and the supportsMp3VideoAudio will return false.
|
// Safari supports mp3 with HLS, but only in mpegts container, and the supportsMp3VideoAudio will return false.
|
||||||
if (!browser.ps4 && (browser.safari || supportsMp3VideoAudio)) {
|
if (browser.safari || (supportsMp3VideoAudio && !browser.ps4)) {
|
||||||
hlsInTsVideoAudioCodecs.push('mp3');
|
hlsInTsVideoAudioCodecs.push('mp3');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue