As shown in the picture, I set up an event that jumps to the video playback position as long as it is clicked. It can jump perfectly in other browsers, but it is different in the Chrom browser. Every time the event is triggered, it does not care about the current video. When it reaches that position, it jumps directly to the first frame of the video and plays it again. Why is this?
Write it in canplaythrought to ensure that the video resources have been loaded
If you are using webstorm for debugging, it is recommended that you do not open it directly in webstorm. I have encountered the same situation before, and later found that it is normal to open it directly as a file, but problems will occur when using webstorm.