[Tencent Carnival h5]
http://news.qq.com/FERD/jiani...
When you open the link, you will find that the page has many <video> tags and too many video elements. Before the user sees the homepage, the video must be preloaded to prevent lag. However, the video element is different from the img image and can be used. Image object, monitor whether the loading is completed, how to preload the video, and monitor the loading progress?
I have seen Youku videos before that divide the entire video into several segments and load them separately. When one segment is loaded, the next segment will be loaded