Jump to content

Load another page once video has finished


jfjuk

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...