Backport pull request #5553 from jellyfin-web/release-10.9.z

Fix Dolby Vision playback on webOS

Original-merge: 86ff77924edd868c8350be3f0376bbfa8cd11d67

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

Backported-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
GeorgeH005
2024-07-21 01:43:53 -04:00
committed by Bill Thornton
parent cf6eaa6b92
commit a3c0fb05c3
2 changed files with 13 additions and 10 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
import appSettings from './appSettings';
import browser from '../browser';
import Events from '../../utils/events.ts';
import { toBoolean } from '../../utils/string.ts';
import browser from '../browser';
import appSettings from './appSettings';
function onSaveTimeout() {
const self = this;
@@ -142,7 +142,7 @@ export class UserSettings {
}
// Enable it by default only for the platforms that play fMP4 for sure.
return toBoolean(this.get('preferFmp4HlsContainer', false), browser.safari || browser.firefox || browser.chrome || browser.edgeChromium);
return toBoolean(this.get('preferFmp4HlsContainer', false), browser.safari || browser.firefox || (browser.chrome && !browser.web0s && !browser.tizen) || browser.edgeChromium);
}
/**