Backport pull request #5669 from jellyfin-web/release-10.9.z

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

Original-merge: 665678d5d7b298f3a00baaad97d62dbdca82a917

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: thornbill <thornbill@users.noreply.github.com>
This commit is contained in:
RaafatAkkad
2024-08-05 11:14:38 -04:00
committed by thornbill
parent d99491180d
commit fa3be557c5
+2
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) {