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:
parent
9d3a12237a
commit
c42070e509
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ import browser from './browser';
|
||||||
function testCanPlayAv1(videoTestElement) {
|
function testCanPlayAv1(videoTestElement) {
|
||||||
if (browser.tizenVersion >= 5.5) {
|
if (browser.tizenVersion >= 5.5) {
|
||||||
return true;
|
return true;
|
||||||
} else if (browser.web0sVersion >= 5 && window.outerHeight >= 2160) {
|
} else if (browser.web0sVersion >= 5) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue