Question: I'm building a course with an Intro bumper video. I've got the HTML5 video on auto-play and with no playbar. EXCELLENT! Now I need it to recognize the video is done playing and move to the next page without the user having to click a button.
The following code was suggested to me to recognize the end of the video. But how do you also have it proceed to the next page? and do you just place this within the <object> tag?
var vid = document.getElementById("myVideo");
alert(vid.ended);
Thank you!
HTML5 Video Intro
-
- Jr. Propeller Head
- Posts: 3
- Joined: Thu May 05, 2022 1:01 pm
Re: HTML5 Video Intro
We figured it out if anyone is interested. The Intro autoplays, and moves to the next slide and is responsive.