TL;DR: Simply listen on "timeupdate" : video.addEventListener("timeupdate", function(){ if(this.currentTime >= 5 * 60) { this.pause(); } }); ...
確定! 回上一頁