Home >Web Front-end >H5 Tutorial >Questions about the ontimeupdate event of the HTML5 Video object (invalid on Chrome) _html5 tutorial tips
Date is making a video playback page, which uses the HTML5 Video object. This is a new object in HTML5. It supports online playback of videos in multiple different formats. It is relatively powerful and has expanded many events. You can pass JavaScript script to control video playback. Refer to the following two links:
http://msdn.microsoft.com/en-us/library/windows/apps/hh465962.aspx
http://www.w3school.com.cn/html5/tag_video .asp
The Video object can report the current playback progress through the ontimeupdate event. At the same time, this event can also be used to control other elements on the page based on the video playback situation, such as switching chapters as the video playback progresses. , display additional information, etc. Here is an example: