canvas animation stream animation from one node to another 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';})