1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

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.
This commit is contained in:
Dmitry Lyzo 2022-02-03 20:54:11 +03:00
parent 9d3a12237a
commit c42070e509

View file

@ -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;
}