Fix clip bar placement after video is extended

pull/245/head
ElementalAlchemist 3 years ago committed by Mike Lang
parent 394a6c72e2
commit 699bea5e9e

@ -412,9 +412,12 @@ async function initializeVideoInfo() {
rangeEndField.value = videoHumanTimeFromWubloaderTime(globalEndTimeString);
}
}
rangeDataUpdated();
globalLoadedRangeData = true;
}
// Although we may or may not have updated the range data here, this is where we know the new video duration.
// Because of this, we need to run this to properly update range-dependent things like the clip bar UI,
// which require a location.
rangeDataUpdated();
});
player.on("timeupdate", () => {
const player = getVideoJS();

Loading…
Cancel
Save