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:
parent
1f12da0314
commit
b0e1ebc8d3
1 changed files with 5 additions and 0 deletions
|
@ -123,6 +123,11 @@ import browser from './browser';
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
} else if (format === 'opus') {
|
} else if (format === 'opus') {
|
||||||
|
if (browser.web0s) {
|
||||||
|
// canPlayType lies about OPUS support
|
||||||
|
return browser.web0sVersion >= 3.5;
|
||||||
|
}
|
||||||
|
|
||||||
typeString = 'audio/ogg; codecs="opus"';
|
typeString = 'audio/ogg; codecs="opus"';
|
||||||
} else if (format === 'alac') {
|
} else if (format === 'alac') {
|
||||||
if (browser.iOS || browser.osx) {
|
if (browser.iOS || browser.osx) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue