Make HTML5 video stop at indicated time
Opened this issue · 0 comments
naif-sameer commented
video.addEventListener("timeupdate", function(){
if(this.currentTime >= 5 * 60) {
this.pause();
}
});
Opened this issue · 0 comments
video.addEventListener("timeupdate", function(){
if(this.currentTime >= 5 * 60) {
this.pause();
}
});