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:
parent
7e20d3032f
commit
cb085ff955
1 changed files with 2 additions and 0 deletions
|
@ -239,6 +239,8 @@ function supportsDolbyVision(options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function supportedDolbyVisionProfilesHevc(videoTestElement) {
|
function supportedDolbyVisionProfilesHevc(videoTestElement) {
|
||||||
|
if (browser.xboxOne) return [5, 8];
|
||||||
|
|
||||||
const supportedProfiles = [];
|
const supportedProfiles = [];
|
||||||
// Profiles 5/8 4k@60fps
|
// Profiles 5/8 4k@60fps
|
||||||
if (videoTestElement.canPlayType) {
|
if (videoTestElement.canPlayType) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue