Merge pull request #7526 from antaljanosbenjamin/allow-to-play-dolby-vision-with-fallbacks-on-webos

Allow to play Dolby Vision with fallback on webOS
This commit is contained in:
Bill Thornton
2026-01-27 15:48:17 -05:00
committed by GitHub
+6 -3
View File
@@ -1185,7 +1185,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';
}
@@ -1195,8 +1197,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.
@@ -1210,7 +1213,7 @@ export default function (options) {
vp9VideoRangeTypes += '|HLG';
av1VideoRangeTypes += '|HLG';
if (browser.tizenVersion >= 3) {
if (browser.tizenVersion >= 3 || isWebOsWithoutDolbyVision) {
hevcVideoRangeTypes += '|DOVIWithHLG';
}
}