mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Force support DoVi profile 8 for webOS TVs that support it but report otherwise
This commit is contained in:
parent
21ced03987
commit
7372e837ee
1 changed files with 7 additions and 3 deletions
|
@ -247,9 +247,13 @@ function supportedDolbyVisionProfilesHevc(videoTestElement) {
|
|||
.replace(/no/, '')) {
|
||||
supportedProfiles.push(5);
|
||||
}
|
||||
if (videoTestElement
|
||||
if (
|
||||
videoTestElement
|
||||
.canPlayType('video/mp4; codecs="dvh1.08.09"')
|
||||
.replace(/no/, '')) {
|
||||
.replace(/no/, '')
|
||||
// LG TVs from at least 2020 onwards should support profile 8, but they don't report it.
|
||||
|| (browser.web0sVersion >= 4)
|
||||
) {
|
||||
supportedProfiles.push(8);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue