Hi,
I can't find any tutorial to scrub through several pinned MP4 videos natively with ScrollTrigger. Everything out there is about bitmap or vector animations (which I understand, as GSAP is primarily focused on such kind of animation). Maybe those tutorials do exist, but i didn't find them. What I found is people sometimes asking for this, in order to build for example Apple-like transitions. Alas pretty much all answers redirect them to existing topics about sprite or canvas animations (what Apple does indeed). But a sprite animation is not scrubbing through a video, so the initial question remains unanswered.
Topics or CodePen addressing video scrubbing control do exist, like this one:
https://codepen.io/shshaw/pen/9e810322d70c306de2d18237d0cb2d78
found in this topic, see also this other topic, or the deprecated solution below) but most of them are a mix of traditional scrubbing with HTML5+Javascript using fullscreen videos in CSS "fixed" position, using an invisible "wrapper", "container" or "spacer" whatever one calls them, i.e. a very long element of several hundreds pixels or vh height making use of ScrollTop to control the scrubbing length amount, instead of the smart start/end point markers provided natively by GSAP and ScrollTrigger.
What about controlling (i.e. pinning & scrubbing through) several successive short videos (that are not fullscreen) with mouse/trackpad on a single web page? Is it possible to do that natively (without a long spacer scrolling) with ScrollTrigger ? I discover GSAP and I am still a beginner.
PS: my question does not deal with choppy scrubbing of MP4 videos in some browsers or devices as I already understood codec constraints with the correct amount of GOP, I- and B-frames and the overall video encoding optimization process to achieve smooth animations.