diff --git a/src/hooks/tracking/useTrackVideoLesson.js b/src/hooks/tracking/useTrackVideoLesson.js index 9a77669..9f86415 100644 --- a/src/hooks/tracking/useTrackVideoLesson.js +++ b/src/hooks/tracking/useTrackVideoLesson.js @@ -104,7 +104,7 @@ const useTrackVideoLesson = ({lessonId, videoDuration, courseId, videoPlayed, pa useEffect(() => { if (isAdmin) return; - if (videoDuration && timeSpent >= Math.round(videoDuration * 0.9) && !completedRef.current) { + if (videoDuration && timeSpent >= Math.round(videoDuration * 0.8) && !completedRef.current) { console.log('🎯 Video reached 90% threshold - Marking as completed'); markLessonAsCompleted(); }