Import es5 build of hls.js
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user