Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Scrolling effects for a video.



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);




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
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0

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.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...