Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var numPAUSE = 0;
- var i = 0;
- setInterval(function()
- {
- if (vid.currentTime == 0 && !vid.duration || vid.currentTime == vid.duration)
- {
- vid.load();
- vid.play();
- numPAUSE++;
- document.getElementById("checkPAUSE2").innerHTML = numPAUSE;
- }
- document.getElementById("checkPAUSE1").innerHTML = i + "_" + vid.currentTime + "_" + vid.duration;
- i++;
- }, 4000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement