probably you have to add some event listener to your video: timeupdate , loadstart, ect to manage the visibility of your image in overlay
Video with timed image overlay
-
13-06-2023 - |
题
I was wondering if anyone could help me with HTML5 video with image overlays that are timed. I want the images to display and disappear at certain times, which will make the video pause and resume on the click of a button. I want to know the best approach to this in regards using HTML5, javascript etc.
I am using the video tag in HTML5 with Dreamweaver CS6 at the moment and I have full screen video working, with an image overlaid using the z-index, but I can't get it to display and disappear at a certain time.
Any ideas?
解决方案
不隶属于 StackOverflow