MelMelMel Posted November 18, 2021 Share Posted November 18, 2021 I want to use ScrollTrigger to scrub a video. I've tried to use other peoples' code on CodePen that do exactly what I want (animate video on scroll). But when I try to replace their src URL (for the video they've used) with the URL for a video I want to use, it never works. Is there video formatting I'm missing? I've watched all the ScrollTrigger tutorials with the squares and stuff and that worked fine. It seems I'm not understanding the video-specific elements of this. For example, this is a video I'd wanna use: https://www.dropbox.com/s/4axhyf4jv4kl9o7/World - 1992.mp4 I've attached an example of code that was working before I replaced the video, now it's not working. Thank you. See the Pen xxLMBJw by mel-taylor (@mel-taylor) on CodePen Link to comment Share on other sites More sharing options...
OSUblake Posted November 19, 2021 Share Posted November 19, 2021 Welcome to the forums @MelMelMel It's probably something with your video or how it's hosted on dropbox. I removed all the ScrollTrigger code, and I still couldn't get your video to play. 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