loade another webpage once video is over code example
Example: loade another webpage once video is over
video = document.getElementById('myvid');
video.addEventListener('ended',function() {alert('video is ended');
window.location.href = 'http://www.google.com';})