<!DOCTYPE html> <html> <head> <script type='text/javascript'>//<![CDATA[ window.onload=function(){ var videoPlayer= document.getElementById('video'); videoPlayer.addEventListener('ended', function(){ this.pause(); this.src = "http://www.mp4point.com/downloads/8feeca1a540b.mp4"; }, false); }// </script> </head> <body> <video id="video" src="http://media.w3.org/2010/05/sintel/trailer.mp4" autoplay autobuffer controls /> </body> </html>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)