How can I create this scroll effect

I want to create same scroll effect with wix video box. But I can not add some NPM packs is there anyway to understand user scrolling and playing video with APIs

I think you can achieve this, when using the onVieportEnter() and onViewportOut() - commands + some animations.

Here you will find a good example, where you can start your adventure…