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:
parent
c04354538d
commit
9814a56a67
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue