jfjuk Posted September 17, 2015 Share Posted September 17, 2015 Is it possible to have another page load once a video clip has finished playing? I'm building my site in Muse, below is the HTML I'm using to play the video. <video width="1060" controls autoplay> <source src="myvideo.mp4" type="video/mp4"> </video> Link to comment Share on other sites More sharing options...
Ingolme Posted September 17, 2015 Share Posted September 17, 2015 Javascript can listen for events fired by the video player. Link to comment Share on other sites More sharing options...
jfjuk Posted September 17, 2015 Author Share Posted September 17, 2015 I'm afraid I'm a newbie to this. How would I implement it? Link to comment Share on other sites More sharing options...
Ingolme Posted September 17, 2015 Share Posted September 17, 2015 If you already have some experience with Javascript, here's a list of events that the <audio> and <video> events fire: https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Media_events The "ended" event is probably what you should listen for. If you don't know Javascript yet, you should go through the W3Schools Javascript tutorial. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now