On my front page I have a ~15 sec video that loops. I’m trying to see if there’s a way to auto-scroll the page down to the next section on my page after 14 seconds, before video loops. A friend showed me the follow javascript, which SORT OF works:
The problem is that if the user should decide to scroll past the #jump point before the video is done playing… the script will automatically scroll back up the page.
Is there a similar script that can solve this? Or maybe some sort of code that can tell the script to not run if the user have already scrolled/scrolled past #jump?
I think this actually solved it! It’s hard to really test because the video loads so swiftly on my computer. I’ve asked a few other people to try it out, though, and no one has had any issues with it so far!
Thank you VERY much for your help! It is very much appreciated.