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

Force DoVi on browser.xboxOne as edgeUWP says it can't play it

Unsure if DoVi profile 8 works on Xbox but the video plays
This commit is contained in:
Raafat Akkad 2024-06-06 19:34:52 +01:00 committed by Raafat Akkad
parent 7e20d3032f
commit cb085ff955

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) {