diff --git a/static/index.html b/static/index.html index 3eba24b..54db23e 100644 --- a/static/index.html +++ b/static/index.html @@ -325,8 +325,8 @@ $(videoElement).on('play.currentVideo', updatePlayPauseButtonState); $(videoElement).on('pause.currentVideo', updatePlayPauseButtonState); $(videoElement).on('loadedmetadata.currentVideo', handleVideoLoadedMetadata); - $(videoElement).on('timeupdate.currentVideo', handleVideoTimeUpdate); $(videoElement).on('ended.currentVideo', exitVideoPlayback); + setInterval(handleVideoTimeUpdate, 1000/30); // --- Setup Fullscreen Change Listener (session-specific) --- $(document).off('fullscreenchange.videoPlayback webkitfullscreenchange.videoPlayback mozfullscreenchange.videoPlayback MSFullscreenChange.videoPlayback', handleFullscreenChange); @@ -351,7 +351,7 @@