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

Import es5 build of hls.js

This commit is contained in:
Bill Thornton 2023-04-19 10:47:02 -04:00
parent c04354538d
commit 9814a56a67
2 changed files with 2 additions and 2 deletions

View file

@ -105,7 +105,7 @@ function enableNativeTrackSupport(currentSrc, track) {
}
function requireHlsPlayer(callback) {
import('hls.js').then(({ default: hls }) => {
import('hls.js/dist/hls.js').then(({ default: hls }) => {
hls.DefaultConfig.lowLatencyMode = false;
hls.DefaultConfig.backBufferLength = Infinity;
hls.DefaultConfig.liveBackBufferLength = 90;