Skip to content

Gsap smooth scroll



 

Gsap smooth scroll. css'. My question is : Could we use the best of both world by using lenis to handle smooth scroll and keep the ability to use data-speed and others data attributes provided by SmoothScroller to create awesome parallax rapidly. Sep 18, 2022 · Create an account or sign in to comment. getVelocity(); Previous. Now I am on index. Some information, especially the syntax, may be out of date for GSAP 3. About External Resources. If you prefer to use a different library for smooth scrolling, that's fine but we can't support 3rd party libraries here. Subscribe. Here is a simplified code example how it should be done. smooth-scroll"}) See the Pen abVxRqm by GreenSock ( @GreenSock) on CodePen. You could for example leverage ScrollTrigger though, to get that smooth-scrolling effect, like @ihatetomatoes showed in these threads here for example. So I assume the problem don't come from Lenis not returning the good scroll value, since it works fine with older versions of gsap. As I understand it happens on less powerful computers. The mousewheel events fire very often so you my want make sure you aren't creating new tweens all the time or scroll 30 sections in the course of 3 seconds. Thanks. We created a ScrollTrigger method to make it possible to use 3rd party Mar 6, 2023 · I prefer the vision of lenis library that apply smooth to the native scroll. It detects the elements in the viewport and animates them with custom options. js. And have a look at this pen for a smooth scrolling solution together with scrollTrigger. Pinning Elements: I'm trying to pin elements in a way that replicates fixed positions, but I encounter a jumping effect. 'use client'; 2. Using Locomotive. It also manages the smooth scroll which is very simply done with Locomotive Scroll v5. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. Aug 12, 2020 · GSAP has its own official scroll plugin called ScrollTrigger that has way more features, a sleeker API, and a smaller file size! Its . netlify. Results is smoother using playbackRate, BUT the Mar 4, 2020 · Alternatively you could do both the smooth scroll and scrolling to position using GSAP by way of a proxy. Useless if lerp defined. <Scrollerref={scrollRef}> // this wrapper component with smooth scroll and scrollTrigger setUp <Headerscroller={scrollRef}/> // component need to animate in scroll </Scroller>. g. What I wanted to do it replicate the same smooth scrolling that's on the mousewheel, onto the scrollbar on the right hand side. . Hey ScrollTrigger, whenever you want to get or set the scrollTop on the body, use these methods instead. The duration of scroll animation (in seconds). GSAP should do a paid smooth-scroll plugin for mouse-wheels, they'd make a small fortune Thanks for the above. Jul 2, 2017 · That is smooth scroll the whole page content with TweenMax but having different scroll speed on different elements. 6K subscribers. php, index. Phani. i used smooth scroll plugin from gsap. Jul 31, 2020 · Here is a suggested solution with the use of smooth-scrollbar (see bottom of this post) @karaulovskin The thing with smooth-scrolling libraries, like smooth-scrollbar (don't know about ASScroll - but from what I have read somewhere in this forum, I think it might be easier to handle) is, that they pretty much change everything about the browser-implemented scrolling. Please help me on this one. Feb 3, 2024 · Smooth scrolling is causing extra pages to scroll at the end unexpectedly. gsap; slidetoplugin; By anujibin February 27, 2020 in GSAP. Jun 22, 2021 · 10. Dec 6, 2023 · GSAP is a robust tool for creating high-performance animations, including the parallax effect. 4 and it's perfect). 3 yr ZachSaucier changed the title to Scrub through video smoothly - ScrollTrigger. I've been trying to find a smooth scrolling solution for the entire page without sacrificing accessibility, especially on mobile devices. html in Chrome. "none" means a linear scroll, resulting in constant speed as you scroll. This is more related with CSS than GSAP actually and is a bit beyond the scope of the help we can provide in this free forums. 11 works fine (I tested with the 3. Posted April 19, 2019. Hi @futuris, Lenis run in native browser scroll for smooth scrolling, so there will be no issue using ScrollTrigger as combo, I have tested it with trigger, pin, scrub, everything works fine. Tried fixing the CSS and also the JS. When I inspect the webpage shows "has-scroll-init+has-scroll-smooth". You would still need to add quite bit of logic. Aug 14, 2019 · Moderators. net. Apr 29, 2021 · The fundamental problem was that the scrollerProxy's setter needed to ALSO set the actual scroll position of the page (not just the "fake" content scroll) so that they're synchronized, but doing so directly would create a funky loop because the main ScrollTrigger is set up to basically smooth out the "real" scroll position, thus when we set it Jan 18, 2016 · There isn't much GSAP can do to help how Flash chooses to render your animations. Locomotive Scroll is a JavaScript library that allows you to create smooth and parallax scrolling effects on your web pages. I've been doing further research, and I think it's going to be more of a long-term learning curve to get that type of effect :). Here is the final demo. min(. You might also see these threads for more info about this subject: 2. Start using @studio-freight/lenis in your project by running `npm i @studio-freight/lenis`. Jul 31, 2020 · Hi, Smooth Scrollbar can work with ScrollTrigger. 30K views 1 year ago. style. And calculating the outer window height in javascript didn't help 😕. 2k. inOut'})}) The problem is that the #formsection can be taller or smaller than 100vh . Mar 7, 2022 · You can use selector text like "#elementID" or the element itself. Like in the example the image, the title and the content all moving to different scroll speeds. 👋 Check out my latest templates - https://robn. link/templates 🍉 Portfolio The progress value of the overall page scroll where 0 is at the very top and 1 is at the very bottom and 0. create({}); let nativeScrollVelocity = smoother. 1 minute ago, ZachSaucier said: Yep. maxScroll(window), About External Resources. to(smoother, {. When the website is loaded the smooth scroll works as expected, the scrollbar start at the top of the document (start-picture. js; React JS; Approach to create GreenSock ScollTrigger: Create a new functional component and then import GSAP and ScrollTrigger and register the plugin. 885. Now let’s get started. Jan 28, 2021 · If you need smooth scrolling I recommend using a more full smooth scrolling library. What happens is: the scrollbar can not move to the top of the actual document. 1. Posted. Jan 3, 2022 · Calling scroll() also respects our users’ motion preferences — users with a reduced-motion preference will be jumped to the section instead of smoothly scrolled. This is a very basic (and ugly) test I put together to create the Locomotive smooth scrolling effect for an entire web page using the new Scroll Trigger plugin. 3D renders from Unsplash. I have three pages which are `menu. 0. Apr 15, 2021 · 1. 18. php`. Jan 5, 2023 · It's only available for Club GreenSock members, though ("Shockingly Green" and higher). querySelector (". The ScrollTrigger instance that ScrollSmoother created internally to manage the smooth scrolling effect of the page. 21. 1 Link to comment Mar 30, 2022 · Cassie Evans joins us to show us the new features that come with GSAP 3. Thank you for all of your hard work. I just had to make something similar for a wordpress site. 3. Latest version: 1. I'm currently learning and using Framer Motion for my animations in React and I couldn't find any good smooth Oct 23, 2020 · Ok, it works better now, but If I scroll fast, down page, my divs take a little time to appear I guess there is a timing problem, when I'm in Full Page View on the Pen, scrollTrigger runs but my page stay empty Jun 1, 2019 · Posted June 7, 2019. Quite the opposite. Maybe try using the refresh event handler to update or re-create your smooth scroll: Apr 16, 2021 · Hey all! We have used gsap in a couple of projects. Sep 22, 2021 · Well the code you posted above is not from the ScrollTrigger-native smooth-scrolling approach - but trying to use smooth-scrollbar without loading their script. I'm betting that the issue is caused by conflicting positions of the scroll position. offset ('#formsection', 'top top'), duration: 3, ease: 'power4. When I remove all the sliders, the lags disappear. Posted June 22, 2021. Now we’re Jul 11, 2019 · Tweenmax smooth scrolling without Rubber-band effect. This value will animate during the smooth scrolling and end when the onStop fires. This script will scroll to an item if it is on the same page otherwise href links to another page as normal. Below is the code: Nov 18, 2022 · 22. Dec 17, 2023 · GSAP is used to animate anything that can be accessed with JavaScript. These forums really try to stay focussed on GSAP specific questions and this is more of a general logic thing in combination with how a 3rd party smooth-scrolling library works, but here are some tips: Apr 1, 2022 · Smooth Scroller is awesome thank you GSAP! Question: I have a set of 6 boxes that form two rows, and since there are two rows of elements I am trying to figure out if there is a way to control the position effects of smooth scroller when we are scrolling back up. Posted January 28, 2020. Every project should do that. I have the most common setup for scrolling and there are also several swiper sliders on the page. page. No issue on the index page. 5 is halfway scrolled. Nov 13, 2015 · I've made a parallax website and added smooth scrolling to it with the mousewheel, and that all works fine. Sep 22, 2023 · Getting Started. Using it, you can have complete control to define where your scroll animations start and end, animate anything (WebGL, canvas, SVG, DOM, whatever) on scroll, pin elements Mar 10, 2022 · isProxyScrolling = true; // otherwise, if snapping was applied (or anything that attempted to SET the scroll proxy's scroll position), we'd set the scroll here which would then (on the next tick) update the content tween/ScrollTrigger which would try to smoothly animate to that new value, thus the scrub tween would impede the progress. gsap. So if the native scroll position is at 1000px (let's say that's the bottom) and then you suddenly change it to be at 1px (to loop it), ScrollSmoother says "okay, I better smooth that out going all the Oct 27, 2020 · Welcome to the forums @leomaubert With the right logic it sure is possible. Initiate a GSAP animation that targets the sections (panels) for horizontal scrolling. Currently, on scroll, it slows down and after a while jumps to the ne Feb 24, 2018 · Just to clarify, I'm pretty sure GSAP doesn't **ever** cancel scrolling that's initiated outside of GSAP. ScrollToPlugin just checks to see if something **outside of itself** changes the scroll position while tweening, and if so, it'll kill that part of the tween. When you scroll down to the page animation feels like laggy or working a bit slowly specially if you scroll faster you will see it stuck into the page sometimes. The main goal is to achieve smoothness. Mar 27, 2023 · That's relatively easy to do, of course, but the smoothing just knows that it must smooth the "catch up" to that new (native) scroll position. However it's a quite expensive one. Posted August 14, 2019. Posted November 18, 2022. // don't let it go beyond the maximum scrollable area. php page and there is no issue with scrolling if I clicking on the menu then it's targeting the right id. In your code editor, open index. You need to use the ScrollTrigger. 174. For some reason, my wordpress site plays smooth scrolling at 10-25 fps. Exclusively for Club Greensock members - ScrollSmoother brings easily configurable Jun 25, 2023 · The page component is the parent of the other 3 components. js, Gsap ScrollTrigger & some custom Javascript. We are trying to figure out a solution for the smoothly snapping effect. But I am not able to getting it. With that being said, Blake here on the forums has an infamous thread about smooth scrolling that you can check out if you want to learn more about how to implement smooth scrolling with GSAP. Nov 27, 2017 · In the demo below, just scroll down very slowly. When you don't use the body as the scroller but a dedicated Jun 16, 2017 · I'm not against scrolling animations or parallaxing. 10! The new ScrollSmoother plugin makes smooth scrolling easy and accessible, and the Apr 19, 2019 · 4. One of the solutions I found was GSAP's ScrollSmoother plugin. If you need to do scroll jacking, just hide the scroll bar. Just copy-pasting the const won't get you far for different reasons. We didn't build ScrollTrigger to do scroll-jacking (which is what smooth scrolling requires), but it's entirely possible to leverage it to create similar effects. Myself and many others around here would warmly encourage you to move away from Flash. Specify the easing function for the animation. What I've come up with so far is to add the class with the onUpdate() callback and then remove it using onScrubComplete() May 9, 2020 · GSAP ; Smooth Page Scrolling Search Community. I scroll a bit down on the document and then I minimize/resize it. The ScrollTrigger-native approach does contain detailed comments in the JS for how to set up things for it to work - if you follow those ( and that includes the HTML markup and Jul 11, 2021 · I'm trying to get the custom scroll from my codepen to work with scrolltrigger. GreenSockLearning. ScrollSmoother is a members-only benefit of Club GSAP but you're welcome to use a Feb 9, 2023 · Also your initial 3D animation should be inside a container with overflow hidden, since it is also creating some extra vertical scrolling and (I presume) unwanted horizontal scrolling. If I don't specify the scroller with scrollerProxy (and "scroller:" in gsap animation code), the start and end values don't exactly match (they almost match from what I can see) and whole website gets choppy and framrate drops a lot. May 2, 2022 · window. Mar 20, 2020 · And it's all in the same comfy GSAP ecosystem. import styles from '. when #formsection is taller than the height of the screen ( 100vh ) the code above is working as expected but when it is Jan 28, 2020 · 174. Jul 13, 2022 · As of now, if you press the tab key three times (to get to box C), you'll see that the scrollbar doesn't update and there is no smooth scrolling. this pen explores how gsap ScrollTrigger's scroller 1. Together, they form a formidable duo to enhance your Next. We provide a few demos that use different smooth scrolling libraries in the scrollerProxy docs . . ScrollTrigger, Flip. Mar 31, 2022 · Introducing ScrollSmoother for GSAP. ScrollSmoother is very nicely integrated with the GSAP ecosystem. progress), }); Previous. Hi GSAP Team, Could i get assistance in making the smooth sticky header scrolling. ScrollTrigger is an official GreenSock plugin for GSAP. Here are some suggestions: Make sure you're loading ScrollTrigger, ScrollSmoother, and the main GSAP file. import { useEffect } from 'react'; 3. Animate the xPercent property of the sections. Emily. scrollTrigger. All it does it animate values. Normal effect; See the Pen rNzyRZq by GreenSock (@GreenSock) on CodePen See the Pen LYOgBjZ by sukruemanet (@sukruemanet) on CodePen Aug 26, 2016 · Sooo, I'm trying to play a little with ScrollTo plugin and ScrollMagic. So you will probably have to find a different way to achieve that effect, like e. To use it with ScrollTrigger you should make use of . Feb 27, 2020 · Smooth scroll with scrollbar. Jul 23, 2020 · Hi Federica, we went through GSAP only smooth scrolling in another forum thread. Once we see an isolated demo, we'll do our best to jump in and help with your GSAP-specific questions. 39, last published: 10 days ago. It's because the tween that makes it look like smooth scrolling is actually moving the container around. In the homepage if you start to scroll, in the section after the landing section you can see the white text in the red background flickers as you scroll. May 12, 2021 · Another alternative would be to create a setTimeout and wait for the smooth scrollbar to be completely created before creating the scroll trigger instance. This thread was started before GSAP 3 was released. Jun 7, 2018 · Hello, I am using Greensock animation for smooth scroll clicking on the menu. to (Smooth, {scrollTop: Smooth. ScrollSmoother. When it is at that limit, if the user continues to scroll, disable the original scroll behavior and start scrolling horizontally instead. ScrollTrigger. GreenSock's own ScrollSmoother is a smooth-scrolling plugin built on top of ScrollTrigger, so it is totally integrated and super easy to use. And when it updates, you also update the scroll position of the page. No May 17, 2022 · Animation not working perfectly. I know is far from being the react-way, but that would definitely pinpoint the issue to the DOM not being ready when the GSAP code is executed. By 440design July 11, 2019 in GSAP. Can be vertical or horizontal. If you are seeing the same results with GSAP and other ActionScript techniques, I'm fairly confident you have just hitting a limitation of Flash. And having that class removed as soon as I stop scrolling. Aug 16, 2022 · button. registerPlugin(ScrollTrigger); Nov 16, 2022 · The automatically assigned class name of has-smooth-scroll on the page’s html tag needs a backface-visibility of hidden and a transform of translateZ(0) Gsap Scroll Animation. Feb 4, 2021 · In short: No, there is no GSAP pre-built stand-alone solution for smooth-scrolling. Once the page has been scrolled to the far right of the 6th section, enable vertical scrolling again (but this time shifted over by 100vw Want to customize the animation to that scroll position? Use the offset () method to find the correct position, and feed it to a GSAP tween like: gsap. Mar 26, 2022 · In this video, I show you how you can combine the Locomotive Scroll library with GSAP ScrollTrigger to provide a smooth scrolling experience on all browsers Lenis is a smooth scroll library to normalize and smooth the scrolling experience across devices. You need to be a member in order to leave a comment Oct 10, 2022 · It's pretty tough to troubleshoot without a minimal demo - the issue could be caused by CSS, markup, a third party library, your browser, an external script that's totally unrelated to GSAP, etc. // JavaScript Document // This script will scroll to an anchor link on a page from any wordpress menu item with an added class of scrolltolink // the link Sep 14, 2023 · That most likely has to do with the calculations being made for your smooth scroll functionality and the pin space added by GSAP in order to pin the horizontal section. This is a smooth scrolling effect for Framer, which uses Lenis under the hood. Feel free to copy the component to your clipboard and paste it into your site to start using it. I tried some AI suggestions but it does not work. 10. The issues include: Pinned elements jumping or resizing once pinned. ScrollTrigger, InertiaPlugin, SplitText, CustomEase. animating a timeline based on scroll position). I want to do this for all pages's elements. Jun 6, 2018 · Smooth scrolling from one page to another using GSAP. 0 Jul 24, 2019 · It sounds like all you're needing is to fire some animations when elements get scrolled into view. Unless you need some of the advanced functionality in the ScrollMagic library, a simpler approach would be to use the native IntersectionObserver API to listen for when elements get scrolled into view, and then call your GreenSock animations when Mar 3, 2022 · Hi, I've been trying to figure out a way to add an active class to my smooth scroll container while scrolling is being done. The problem is I don't know what Dec 15, 2023 · Initiating Smooth Scroll: I need guidance on correctly initiating smooth scroll, considering I'm using setTimeout and multiple GSAP tweens. let smoother = ScrollSmoother. GSAP is an industry standard JavaScript animation library from GreenSock that lets you craft high-performance animations that work in every major browser. And no, because you won't leave it as pinType: 'fixed' for a dedicated scroll-container. smoothScrollOptions = {. See the Pen MRGyXq by phaneendravvk ( @phaneendravvk) on CodePen. Have two videos, one forward and one in reverse, and depending on scroll direction it switches between them using 'autoAlpha'. Prerequisites: NPM & Node. js projects. See the Pen gOgWELo by GreenSock ( @GreenSock) on CodePen. js my goal is to achieve smooth scroll to the bottom of the footer (that works) and then (after the user scrolls once up on the footer element) go back to the view where top of the footer is right at the bottom of the viewport. You can apply CSS to your Pen from any stylesheet on the web. You've got mix-blend-mode: difference in your CSS on the mouse follower. As you scroll, your mouse goes over lots of stuff, so you're triggering stuff quite a bit (expensive). app/ . I know this topic isn't really related to GSAP, so i wont be bothering anyone about this new issue, but thank you again for your help 🙂. php. I'm not sure if it is a GSAP issue or a ScrollMagic issue, or maybe it can be solved with the right CSS. CMS Gallery Slideshow in Framer. Feb 28, 2022 · Hello, I want to add an effect like this to the project, but it doesn't work when I use it with smooth scroll. just playing with greensock animation library and getting familiar with its api and idiosyncracies. But ScrollTrigger is not built to do scrolljacking like that in the first place and doing so will likely come . We really try not to over-reach. See the Pen PoZLpbp by ihatetomatoes (@ihatetomatoes) on CodePen Oct 7, 2019 · Limit the original scroll section to the bottom of the 5th section. currentTime is using scroll speed to update video. scrollerProxy () to keep ScrollTrigger and Smooth Scrollbar in sync. I am using Greensock animation for smooth scroll clicking on the menu. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself. scrollerProxy (). scrollTop: Math. Now I am on `index. Sep 30, 2020 · How you encode the video has huge implications on the playback ability of video. Apr 26, 2020 · Trying to do a video scroller that instead of using scroll position to update video. smooth: 1, onUpdate: (self) => console. They’ve got docs and a bunch of examples. Though if I use the scroll bar, the background images do not move, only the image in the foreground. We don't really support ScrollMagic here and I'm not familiar with how it works 19. You seem to have a lot of mouse/pointer events. smooth"). Mar 21, 2021 · pinType: document. Yes, you only have to set pinType to 'transform' when using the body as the scroller, because by default when the body is the scroller, ScrollTrigger will use 'fixed' for the pinType. I particularly like how they have a mistakes section with ways you can screw it up. Give it a try! I'm sure you'll come to love it. 2. 5k. Setting Up the Next. I have also added a scrolltrigger for each box and all markers are aligned correctly even with the smooth scrolling. Jun 2, 2020 · Posted June 2, 2020. There's actually no content being scrolled, yet the scroll bar behaves normally, even with touch. Oct 3, 2020 · It ends up happening that this will only work when you change the browser size. 1. Finally figured out how to do those "fixed" background image scroll thingys, so here's a smooth scrolled section thing with some randomized letter opacity animations. damping: 0. Please take a look at the attached example. Instance settings. That's it. transform ? "transform": "fixed" and removing all the locomotive-scroll attributes such as "data-scroll data-scroll-speed="-1" but no luck. I actually do a lot of that stuff but with my own scroll magic. 7. 17 minutes ago, iDad5 said: Äh - thinking of it what kink of fairy-dust is this, you're using @Cassie 'scroll-behavior: smooth' is according to the thread set directly on the Jan 20, 2020 · While that's acceptable on desktop (since it's manually triggered), triggering a resize each time the user changes the scroll direction on mobile (ie an automatic window resize) would make for a frustrating user experience on mobile. with ScrollTrigger's pinning. Here's an example with your code using Locomotive Scroll: Jun 12, 2022 · Assuming that position: sticky is a hybrid of position relative and fixed, I suppose the same that applies to fixed elements will apply to sticky elements in a smooth-scrolling scenario with transforms on a parent container. I'm trying to figure out why adding a fixed height to the body is making that happen. The easing function to use for the scroll animation, our default is custom but you can pick one from Easings. It has a long list of features and has the most easy to use API of any scroll library (at least to me). Big picture is you'd have a variable to keep track of the scroll position and update that variable when the user scrolls or a button is clicked. See the Pen GSAP Draggable and ScrollTrigger timeline [Simple 1] by Michelle Barker (@michellebarker) on CodePen. Any ideas would be great, thanks! Nov 12, 2020 · I have the same issue of text flickering on scroll in the website https://jovial-fox-cfe5c4. addEventListener ('click', => {gsap. I'd just set it with the defaults so you don't have to add that to every ScrollTrigger. html from the GSAP-ScrollTrigger-Intro folder. ScrollMagic is telling it one thing while your onScroll function is telling it something else. I have three pages which are menu. May 5, 2017 · Remove the commenting and then run it and notice the parallax scrolling animation is not smooth anymore. const locoMotive = () => {. Moderator Tag. The orientation of the scrolling. There are 42 other projects in the npm registry using @studio-freight/lenis. You can then combine this with something like Jack shared above to get the horizontal scrolling panel. It uses native scroll technology to avoid most of the accessibility issues that plague other smooth-scrolling libraries. module. scrollerProxy () method can help it be hooked up to smooth scrolling libraries with ease. Aug 8, 2017 · Chrome when using a normal mouse/mouse wheel is so horrendously juddery when scrolling these days. defaults( { scroller:". See Codepen below. png) 2. Hey rulloliver and welcome to the GreenSock forums. you will see how it triggers a scrollTo tween. php, terms. For this exercise we’ll be working with the GSAP-ScrollTrigger-Intro folder located in Desktop > Class Files > JavaScript Class. Registering a plugin ensures that it works smoothly and prevents tree-shaking issues in build Select all elements with the class "panel" and stores them in an array called sections. log("progress", self. Before diving into the implementation, let’s set up our Next. May 12, 2021 · Yes and no. scrollTo( { top: 100, left: 100, behavior: 'smooth' }); In my opinion, this would even be the cleaner solution, but in our context it does not work as desired. GSAP - core. Red color is header which needs to behave as sticky header. Nov 29, 2022 · Solution 1 : don't work, the latest beta have the same issue, runing my code with versions before 3. create({. Feb 8, 2023 · Definitely avoid animating anything with CSS that you're also animating with GSAP. Everywhere; This Forum; This Topic; Topics; Members; Smooth Page Scrolling. By Dovisally May 9, 2020 in Oct 30, 2022 · hi. It's a great library. php` page and there is no issue with scrolling if I clicking on the menu then it's targeting the right id. Preview index. progress. js environment. Jun 22, 2020 · ScrollTrigger. You can explore the source code, documentation and latest releases on GitHub. playbackRate. Explore All Showcases. Jul 14, 2014 · Warning: Please note. Look at the demo Jonathan posted above. js Environment. Jan 28, 2021 · It’s tightly integrated with all the other animation possibilities of GSAP (e. Hey graphsynergie and welcome to the forums, Neither of your examples seem to make use of GSAP. Oct 9, 2023 · Please share the StackBlitz link directly to the file in question (where you've put the GSAP code) so we don't need to hunt through all the files. /page. I am really stuck into this from last couple of days. This demo provides some info about how you should encode your video. Open that folder in your code editor if it allows you to (like Visual Studio Code does). ol qw ei lh rb wr oi by uz xn