From 16c72ac1cc2fc9c20e9f084262ab914d42ffe826 Mon Sep 17 00:00:00 2001 From: antaljanosbenjamin Date: Tue, 27 Jan 2026 16:22:37 -0500 Subject: [PATCH] Backport pull request #7526 from jellyfin-web/release-10.11.z Allow to play Dolby Vision with fallback on webOS Original-merge: cb65a1899877dd5aba58f8e95ff02d32da295c10 Merged-by: thornbill Backported-by: thornbill --- src/scripts/browserDeviceProfile.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/scripts/browserDeviceProfile.js b/src/scripts/browserDeviceProfile.js index 593076caa..1b63b4a03 100644 --- a/src/scripts/browserDeviceProfile.js +++ b/src/scripts/browserDeviceProfile.js @@ -1190,7 +1190,9 @@ export default function (options) { let vp9VideoRangeTypes = 'SDR'; let av1VideoRangeTypes = 'SDR'; - if (browser.tizenVersion >= 3) { + const isWebOsWithoutDolbyVision = browser.web0s && !supportsDolbyVision(options); + + if (browser.tizenVersion >= 3 || isWebOsWithoutDolbyVision) { hevcVideoRangeTypes += '|DOVIWithSDR'; } @@ -1200,8 +1202,9 @@ export default function (options) { vp9VideoRangeTypes += '|HDR10|HDR10Plus'; av1VideoRangeTypes += '|HDR10|HDR10Plus'; - if (browser.tizenVersion >= 3 || browser.vidaa) { + if (browser.tizenVersion >= 3 || browser.vidaa || isWebOsWithoutDolbyVision) { // Tizen TV does not support Dolby Vision at all, but it can safely play the HDR fallback. + // LG TVs that don't support Dolby Vision still can play the HDR fallback without issues. // Advertising the support so that the server doesn't have to remux. hevcVideoRangeTypes += '|DOVIWithHDR10|DOVIWithHDR10Plus|DOVIWithEL|DOVIWithELHDR10Plus|DOVIInvalid'; // Although no official tools exist to create AV1+DV files yet, some of our users managed to use community tools to create such files. @@ -1215,7 +1218,7 @@ export default function (options) { vp9VideoRangeTypes += '|HLG'; av1VideoRangeTypes += '|HLG'; - if (browser.tizenVersion >= 3) { + if (browser.tizenVersion >= 3 || isWebOsWithoutDolbyVision) { hevcVideoRangeTypes += '|DOVIWithHLG'; } }