Hey guys, so I’ve been using a compilation of code from this codepen to scroll through a video. The problem I’m having, however, is lag when scrolling through. The lag and frame skipping happens exponentially more often when the video has a higher resolution and quality. Even when I preloaded the video (preload=“auto”) I still experienced frame skipping and lag.
Here’s a link to the published website that shows the lag. The video ends around the halfway scroll point.
Here’s a link to the read-only site with the code.