MP4 Scrolling Effect

Hi I discovered this coding page to control the playback of a movie by scrolling up and down which I thought I could adapt for my own needs for a new website being built in Pro.

I pasted the compiled HTML into a raw container, the CSS into the page’s CSS and the JS into the page’s JS.

The movie displays full-screen as expected but does not respond when scrolling up and down. Am I missing something?

Hey Laurie,

It’s because the third-party script is conflicting with WordPress jQuery. I’ve tried turning all $ to jQuery and it works. Please just note that my intention is not to fix the JS code. The cause of the issue is just obvious and simple that I’m able to share it. The fixing of third-party custom codes is beyond the scope of our theme support. If you encounter more issues with third-party code, please contact the code author. Also, please ensure there is no issue with your JS code before reporting next time.

Hope that helps and thank you for understanding.

I can’t believe the solution was that simple, thank you SO much, I’ve been scratching my head for days.

You’re most welcome, Laurie.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.