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

Fix webOS OPUS support

This commit is contained in:
Dmitry Lyzo 2022-03-17 22:40:36 +03:00
parent 1f12da0314
commit b0e1ebc8d3

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) {