1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Backport pull request #4688 from jellyfin/release-10.8.z

Disable ALAC on MacOS in non-Safari browsers

Original-merge: 6304e27940

Merged-by: Bill Thornton <thornbill@users.noreply.github.com>

Backported-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
Dmitry Lyzo 2023-07-02 02:12:45 -04:00 committed by Bill Thornton
parent ba0acc6b04
commit 942926058b

View file

@ -121,7 +121,7 @@ function canPlayAudioFormat(format) {
typeString = 'audio/ogg; codecs="opus"';
} else if (format === 'alac') {
if (browser.iOS || browser.osx) {
if (browser.iOS || browser.osx && browser.safari) {
return true;
}
} else if (format === 'mp2') {