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

Merge pull request #3502 from dmitrylyzo/fix-webos-opus

Fix webOS OPUS support
This commit is contained in:
Bill Thornton 2022-03-18 00:19:43 -04:00 committed by GitHub
commit a629440466
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,6 +123,11 @@ import browser from './browser';
return true;
}
} else if (format === 'opus') {
if (browser.web0s) {
// canPlayType lies about OPUS support
return browser.web0sVersion >= 3.5;
}
typeString = 'audio/ogg; codecs="opus"';
} else if (format === 'alac') {
if (browser.iOS || browser.osx) {