Share Posted March 15 I'm trying to animate a video on scroll using ScrollTrigger (switched from ScrollMagic), and the result is quite good. The animation works, but the problem is that frames are often skipped when scrolling. As can be seen from the console (line 26), the scrollPos skips some numbers, thus causing the videoCurrentTime to skip some frames. Is there a way to make this not happen? May I create a variable that increments more precisely with the scrollPos? Can the duration of the ScrollTrigger and the framerate of the video have something to do with it? See the Pen ExeLgOE by edoardo-baravaglio (@edoardo-baravaglio) on CodePen Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now