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

Merge pull request #5299 from nyanmisaka/fix-hlsjs-hdr-remux

Fix the behavior of HDR remuxing in HLS.js 1.5+
This commit is contained in:
Bill Thornton 2024-03-24 03:53:27 -04:00 committed by GitHub
commit 0e2e2fdc4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -443,6 +443,7 @@ export class HtmlVideoPlayer {
startPosition: options.playerStartPositionTicks / 10000000, startPosition: options.playerStartPositionTicks / 10000000,
manifestLoadingTimeOut: 20000, manifestLoadingTimeOut: 20000,
maxBufferLength: maxBufferLength, maxBufferLength: maxBufferLength,
videoPreference: { preferHDR: true },
xhrSetup(xhr) { xhrSetup(xhr) {
xhr.withCredentials = includeCorsCredentials; xhr.withCredentials = includeCorsCredentials;
} }