From 1400f20d75f4050de0e807d5b2d284e4bc8992f5 Mon Sep 17 00:00:00 2001 From: Abdul Mueid Date: Sun, 20 Oct 2024 00:54:35 +0200 Subject: [PATCH] Fix HDR10/DOVIWithHDR10plus support for Vidaa OS --- src/scripts/browserDeviceProfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scripts/browserDeviceProfile.js b/src/scripts/browserDeviceProfile.js index 755e6e70e7..3708dfd818 100644 --- a/src/scripts/browserDeviceProfile.js +++ b/src/scripts/browserDeviceProfile.js @@ -231,6 +231,7 @@ function supportsVc1(videoTestElement) { function supportsHdr10(options) { return options.supportsHdr10 ?? (false // eslint-disable-line sonarjs/no-redundant-boolean + || browser.vidaa || browser.tizen || browser.web0s || browser.safari && ((browser.iOS && browser.iOSVersion >= 11) || browser.osx) @@ -1120,7 +1121,7 @@ export default function (options) { vp9VideoRangeTypes += '|HDR10'; av1VideoRangeTypes += '|HDR10'; - if (browser.tizenVersion >= 3) { + if (browser.tizenVersion >= 3 || browser.vidaa) { hevcVideoRangeTypes += '|DOVIWithHDR10'; } }