Redirect html5 video after play
<script type=”text/javascript”> // Do not name the function “play()” function playVideo(){ var video = document.getElementById(‘video’); video.play(); video.addEventListener(‘ended’,function(){ window.location = ‘http://www.google.com’; }); } </script> <video controls id=”video” width=”770″ height=”882″ onclick=”playVideo()”> <source src=”video/Motion.mp4″ type=”video/mp4″ /> </video> Here is a list of media events to which you can bind: http://dev.w3.org/html5/spec/Overview.html#mediaevents