Jump to content
Search Community

'end' event not triggering

bilalm test
Moderator Tag

Recommended Posts

Hello @bilalm

 

Looks like you are using ScrollMagic, which is not a GreenSock product, so it is not really supported in these forums.

 

You might want to consider switching to ScrollTrigger, GreenSock's equivalent to ScrollMagic.

It's better than ScrollMagic in pretty much every way and since ST is made by GreenSock, you will get support for it here.

 

On a different note;

 

Scrubbing through videos on scroll can be a bit tricky if you want it to work smoothly - not too tricky on the ScrollTrigger side of things, but when it comes to the right encoding of the videos used. Here is a codepen demo using ScrollTrigger, that has some tips for the encoding as comments up top in the JS section. Hope that'll help.

 

See the Pen 9e810322d70c306de2d18237d0cb2d78 by shshaw (@shshaw) on CodePen

  • Like 3
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...