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

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: 665678d5d7

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

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