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 () {
  ...
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b30ecb-2bd39.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b30ecb-2bd39.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?