Fix error when loading a new playlist (when fragments aren't yet loaded by hls.js)

pull/250/head
ElementalAlchemist 3 years ago committed by Mike Lang
parent f7c9eb5e5b
commit 75e0ba56ae

@ -89,7 +89,9 @@ window.addEventListener("DOMContentLoaded", async (event) => {
"Some ranges couldn't be updated for the new video time endpoints. Please verify the time range values." "Some ranges couldn't be updated for the new video time endpoints. Please verify the time range values."
); );
} }
rangeDataUpdated(); globalPlayer.once(Hls.Events.LEVEL_LOADED, (_data) => {
rangeDataUpdated();
});
const waveformImage = document.getElementById("waveform"); const waveformImage = document.getElementById("waveform");
if (newEnd === null) { if (newEnd === null) {

Loading…
Cancel
Save