Scroll Video Site

Use when building a full-bleed, scroll-scrubbed video landing page — a single cinematic video file (an 8-40s continuous camera-move clip) sits fixed behind the page and scroll position maps directly to the video's `currentTime`, with synchronized chapter content, GSAP ScrollTrigger, Lenis smooth scrolling, and an optional autoplay "tour" control for hands-off viewing. Covers the ScrollVideo engine (RAF-damped playhead easing toward a ScrollTrigger-set target time, seek-coalescing so rapid scrubbing never queues stale seeks, `requestVideoFrameCallback` usage, StrictMode-safe video lifecycle, Safari/iOS quirks), wiring Lenis through GSAP's ticker instead of a second RAF loop, an Auto Tour control that pauses on any manual scroll input, and the anti-slop constraints that keep the interface from covering the film. Triggers on "scroll-scrubbed video", "video scrubbing scrolltrigger", "currentTime scroll sync", "cinematic scroll video landing page", "video background scroll site", "scrub video with scroll position"

catesandrew Updated 1 repo stars

File contents

catesandrew/skills commit e68a71887b

Frequently asked questions

npx get-skill add catesandrew/scroll-video-site