courseware
harry 5 years ago
parent 735b82d563
commit 67f27dda92

@ -130,7 +130,7 @@ export default ({ src, videoId, logWatchHistory, courseId = null }) => {
let newTime = el.current.currentTime
let timeDiff = newTime - lastUpdatedTime
//currenttime update before Seeking & Seeked fired
if (Math.abs(timeDiff) < 0.5) {
if (Math.abs(timeDiff) < 10) {
sumTimePlayed += Math.abs(timeDiff)
lastUpdatedTime = newTime
if (!isLoging) {

Loading…
Cancel
Save