Is it possible to have a html5 video automatically open another page after it has finished playing?
How could this be done in javascript?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Take a look at media events on MDN.
Here’s a working fiddle.
EDIT
Since you mentioned in a comment that you have jQuery, this will work as well:
Here’s a working fiddle.