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

Merge pull request #5669 from RaafatAkkad/patch-2

Force DoVi on browser.xboxOne as edgeUWP says it can't play it
This commit is contained in:
Bill Thornton 2024-07-26 10:55:04 -04:00 committed by GitHub
commit 665678d5d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -239,6 +239,8 @@ function supportsDolbyVision(options) {
}
function supportedDolbyVisionProfilesHevc(videoTestElement) {
if (browser.xboxOne) return [5, 8];
const supportedProfiles = [];
// Profiles 5/8 4k@60fps
if (videoTestElement.canPlayType) {