Merge pull request #4399 from knackebrot/hls.js-1.3
Update hls.js to 1.3.4
This commit is contained in:
@@ -107,6 +107,9 @@ function tryRemoveElement(elem) {
|
||||
|
||||
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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user