Sercotec Posted December 29, 2023 Share Posted December 29, 2023 I have tried several methods mentioned in the forum yet i could not find a proper smooth play by scroll for videos. I created one in the code pen , yet the issue is it only animates smoothly if it is safari desktop, safari mobile or even firefox mobile (checkd in macos and ios). If it is chrome or firefox desktop which uses webp version of the movie, no chance it just skips animations in the middle. Any thoughts ? See the Pen LYaVrbd by sercotec (@sercotec) on CodePen Link to comment Share on other sites More sharing options...
Cassie Posted December 29, 2023 Share Posted December 29, 2023 Hey there! Scrolling through a video is tricky because it's more down to the encoding the video uses than the GSAP code. This is a useful ffmpeg snippet - I'd personally recommend going the image route if you only have a short video. Much easier to manage, I'm sure there are tools out there that can spit out frames as image files for you https://gsap.com/docs/v3/HelperFunctions/helpers/imageSequenceScrub Hope this helps! 1 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