I have used the script to make the timeline advance on scroll. This works great. Except when I embed this to my website, it causes issues on the entire websites scroll. The website is a scrollable page with vertical sections. I would like the scroll function of my Hype-project only to be active when the user has the section with the project in the viewer.
Is there som changes I can do in the script to make it only work when the user are viewing the hype project?