From c42070e509f131bcc2b6dbee8f0fc9c45f124465 Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Thu, 3 Feb 2022 20:54:11 +0300 Subject: [PATCH] Enable AV1 codec on webOS 5+ FHD 'window.outerHeight' can be 1080 on UHD TVs, and LG probably specifies the `Maximum Data Transmission Rate` (not the supported codecs) in that table on their website. So we are probably free to enable AV1 on webOS 5+ FHD. --- src/scripts/browserDeviceProfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/browserDeviceProfile.js b/src/scripts/browserDeviceProfile.js index 8ef075c4b1..c9c7066143 100644 --- a/src/scripts/browserDeviceProfile.js +++ b/src/scripts/browserDeviceProfile.js @@ -173,7 +173,7 @@ import browser from './browser'; function testCanPlayAv1(videoTestElement) { if (browser.tizenVersion >= 5.5) { return true; - } else if (browser.web0sVersion >= 5 && window.outerHeight >= 2160) { + } else if (browser.web0sVersion >= 5) { return true; }