2012-10-26 30 views

回答

0

使用the ended event

var videoElement = document.querySelector('video'); // or whatever 
videoElement.addEventListener('ended', function(){ 
    window.location = 'http://newpage.com'; 
}); 

在這裏看到它在行動:http://jsfiddle.net/bCBhD/