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

Update hls.js to 1.3.4

This commit is contained in:
knackebrot 2023-03-06 10:02:38 +01:00
parent 8a0e2f142d
commit 52363c59d9
5 changed files with 19 additions and 28 deletions

View file

@ -48,6 +48,9 @@ function supportsFade() {
function requireHlsPlayer(callback) {
import('hls.js').then(({ default: hls }) => {
hls.DefaultConfig.lowLatencyMode = false;
hls.DefaultConfig.backBufferLength = Infinity;
hls.DefaultConfig.liveBackBufferLength = 90;
window.Hls = hls;
callback();
});