The length of time for video to acquire video is obtained, and the value is infinite (Infinity),.





<video id="video" preload="auto">                            
    <source src="./static/video/movie.ogg" type="video/ogg"> 
</video>                                                     
JSdurationcurrentTimecurretTime
var length = e.pageX - $("-sharpprogressWrap").offset().left; 
var percent = length / progressWrap.offsetWidth;         
playProgress.style.width =percent*410+ "px";             
video.pause();                                           
video.currentTime =Math.ceil( percent * video.duration); 
video.play();                                            
progressFlag = setInterval(getProgress, 60);             
Aug.25,2021

maybe the video is not loaded well.

video.oncanplay = function () {
  ...
}
Menu