Forum Moderators: open
try it like this...
<script>
(function() {
'use strict';
function init(){
var v=document.getElementsByTagName('video')[0];
v.addEventListener('ended',function(){
window.location='http://www.example.com';
});
}
window.addEventListener?
window.addEventListener('load',init,false):
window.attachEvent('onload',init);
})();
</script>
our friend Pete asked for a solution to his specific problem. ;)
What makes you think that he would be the slightest bit
interested in your personal walking inclinations?