MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / updateProgress

Function updateProgress

assets/js/video.js:87–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85// updateProgress indicates how far through the video
86// the current playback is by updating the progress bar
87function updateProgress() {
88 seek.value = Math.floor(video.currentTime);
89 progressBar.value = Math.floor(video.currentTime);
90}
91
92// updateSeekTooltip uses the position of the mouse on the progress bar to
93// roughly work out what point in the video the user will skip to if

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected