JavaScript mendeteksi akhir video
document.getElementById('myVideoID').addEventListener('ended',function(e){
console.log("video has ended");
},false);
Friendly Hawk
document.getElementById('myVideoID').addEventListener('ended',function(e){
console.log("video has ended");
},false);