BebDev Posted October 3, 2022 Share Posted October 3, 2022 Hi guys, I'm trying to use ScrollTrigger to play a video on scroll. The issue I'm facing is that the animation is choppy for some videos, but works smoothly on others. So, I'm not sure if there is something wrong with the video or my code. I created a simple pen with two videos, the one on the left is very choppy. Any advice would be appreciated. See the Pen yLjEBKz by abanobakram (@abanobakram) on CodePen Link to comment Share on other sites More sharing options...
Rodrigo Posted October 3, 2022 Share Posted October 3, 2022 Hi, This most likely is related to the way the video is encoded as @Cassie explains in this thread and also gives a way to properly encode a video to make it work better: In this thread the video plays very smoothly as you can see, perhaps @ivevil can share some advice on how the video is encoded: Unfortunately beyond this there is nothing more we can do, it's just the nature of videos. Happy Tweening! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now