HTML5 Video - Percentage Loaded?
问题 Does anyone know what event or property I need to query in order to get a percentage figure of the amount an HTML5 video has loaded? I want to draw a CSS styled \"loaded\" bar that\'s width represents this figure. Just like You Tube or any other video player. So just like you tube a video will play even if the whole video hasn\'t loaded and give the user feedback on how much of the video has loaded and is left to load. Just like the Red Bar on YouTube: 回答1: The progress event is fired when