embodygreen Posted June 14, 2021 Share Posted June 14, 2021 Site URL: https://www.newbridgegv.com/ Hi thanks for your help in advance and reading my post. I'm also trying to implement a video scroll function. This is what I am going for https://codepen.io/j-v-w/pen/ZEbGzyv. Both options have worked for me in a local test ScrollMagic and custom code. I have used Scrollmagic with the cdn from their web library. The way the custom code works was indexing the many pictures that made up the video and then looping through them. This is the code I wrote for this. const frameCount = 101; const preloadImages = () => { for (let i = 1; i < frameCount; i++) { const img = new Image(); img.src = currentFrame(i); } }; preloadImages();. I can add the video to the page but there are no scrolling effects. Has anyone got a clue of how to implement this? I also thought about using Lottie as an option but have not built out the project yet so I am open for suggestions. Link to comment
tuanphan Posted June 15, 2021 Share Posted June 15, 2021 Hi. Can you add video & share link to page where you added? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
embodygreen Posted June 23, 2021 Author Share Posted June 23, 2021 We have posted the video and implemented the code without success at www.newbridgegv.com/test Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment