I'm trying to use ScrollTrigger to play a video on scroll. The issue I'm facing is that the animation is choppy for some videos, but works smoothly on others. So, I'm not sure if there is something wrong with the video or my code.
I created a simple pen with two videos, the one on the left is very choppy.
Any advice would be appreciated.
See the Pen yLjEBKz by abanobakram (@abanobakram) on CodePen