Jump to content
Search Community

Play, Pause, Restart HTML video using Scrolltrigger

Josh Rogers test
Moderator Tag

Recommended Posts

Hey guys, 

 

I've got a html video which autoplays at the top of the page once the document has finished loading.

 

Is there is a way to use Scroll Trigger to control the play, pause and restart of the video as it comes in and out of frame?

 

Thank you

Link to comment
Share on other sites

Hey @Josh Rogers

 

1 hour ago, Josh Rogers said:

Is there is a way to use Scroll Trigger to control the play, pause and restart of the video as it comes in and out of frame?

 

Yes, that should be pretty much doable with ScrollTrigger.

 

Maybe this recent thread can give you an idea about how to do that.

 

 

 

  • Like 2
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...