SC.01LiveVideo scroll website templates: footage that plays as you scroll
A scroll-to-play hero moves through real footage as the visitor scrolls and rewinds when they scroll up. Kestra and Orbitly start from AI-generated video, then convert it into an image sequence, because scrubbing frames is far more reliable than scrubbing a video element.
Templates built this way (2)
SC.01Live
SC.02LiveApp Launch
ORBITLY: APP LAUNCH SCROLL STORY
A cinematic scroll-story landing page for mobile apps: fall from orbit to a phone in hand, one scroll at a time.
Under the hood.
Two ways to scrub footage on scroll
There are two ways to tie footage to the scrollbar. The first keeps a <video> element paused and sets its currentTime from scroll progress. The second extracts the clip into numbered stills and draws the right one on a canvas. They look the same in a demo and behave very differently in production.
| Scrub a <video> | Image sequence on canvas | |
|---|---|---|
| What a scroll step does | Seeks the video, which decodes from the nearest keyframe | Draws an already-decoded still |
| Reverse scrolling | Often stutters; codecs are built to play forwards | Exactly as smooth as forwards |
| Download | One compressed file, small | Many images, larger; needs tiers |
| Memory | Low | Needs a window of decoded frames |
| Control over loading | Up to the browser | You choose which frames load first |
Kestra (443 frames from two 4K Kling 3.0 clips) and Orbitly (691 frames) both take the second route. The video is the source material; the frames are what ship.
Scrubbing a video element, and why it struggles
The video approach is short to write, which is why it is the first thing most people try:
import { gsap } from 'gsap';
import { ScrollTrigger } from 'gsap/ScrollTrigger';
gsap.registerPlugin(ScrollTrigger);
const video = document.querySelector<HTMLVideoElement>('#hero-video')!;
video.pause();
ScrollTrigger.create({
trigger: '#hero',
start: 'top top',
end: '+=3000',
pin: true,
onUpdate: (self) => {
if (video.duration) video.currentTime = self.progress * video.duration;
},
});The cost is hidden in that one assignment. Compressed video stores a full picture only at keyframes and the frames between them as differences, so a seek has to decode forward from the previous keyframe before it can show anything. Fast scrolling queues seeks faster than they finish, and reverse scrolling repeats that work for every step. MDN notes that fastSeek() trades precision for speed and that currentTime is the way to seek precisely, so there is no setting that makes a seek both exact and cheap.
If you do use a video, re-encode it with a keyframe on every frame so each seek lands on a complete picture. The file grows, but seeks no longer depend on decoding a run of earlier frames:
ffmpeg -i input.mp4 -an -c:v libx264 -g 1 -pix_fmt yuv420p -movflags +faststart scrub.mp4-g sets the group-of-pictures size, so -g 1 makes every frame a keyframe; -an drops the audio track, which a scrubbed hero does not play.
How these templates turn video into frames
Kestra and Orbitly ship ffmpeg scripts that join clips and extract every frame tier: light previews that load first, sharp HD frames streamed near the scroll position, and separate 9:16 portrait frames for phones. Swapping in your own footage means generating new clips and running those scripts. Kestra includes the Nano Banana keyframe prompts and Kling 3.0 clip prompts behind its footage; Orbitly includes Seedance video prompts, a review checklist and a brand-swap table.
mkdir -p frames
ffmpeg -i input.mp4 -vf "fps=24,scale=1920:-2" -c:v libwebp -quality 80 frames/frame_%04d.webpEach flag is explained in converting video to an image sequence with ffmpeg, and the free video to frames tool does it in the browser. Orbitly also weights scroll per clip, so a fast shot gets more scroll distance and never rushes past.
Footage that scrubs well
Not every clip survives being scrubbed. The visitor will stop on any frame, so motion blur, cuts and flicker that pass unnoticed at 24 fps become obvious when someone holds the scroll still. Good scroll footage has one continuous camera move, a subject that stays in frame for the portrait crop, and an ending that settles rather than cuts. Plan the shots before you generate them; the guides to Kling 3.0 and Seedance video for websites cover the prompting side.
Right for the job, or not.
You have, or can generate, one strong continuous shot
A drone approach, a tower rising, a fall from orbit: one camera move that tells the story is ideal source material.
The visitor should control the pace
Scrubbing lets people linger on the moment that matters to them and scroll back to it, which an autoplaying video does not.
Use frames, not a video element, for anything longer than a moment
For a hero that scrubs across several screens, an image sequence is the reliable choice. Keep video scrubbing for short, forward-mostly effects.
Not for footage with audio or dialogue
Scrubbed footage plays silently and at the visitor's speed. If sound or timing matters, embed a normal video with controls.
Not for ambient background loops
A muted autoplaying loop is lighter and simpler when the motion does not need to follow the scroll.
Learn to build it
- Guide · BuildConvert a video to an image sequence with ffmpeg, ready for the webOne ffmpeg command turns a video into WebP, AVIF or JPEG frames for scroll animation, plus how many frames to export and what frame size to use.Read the guide
- Guide · PlanningImage sequence vs video vs three.js: choosing a technique for a 3D scroll siteImage sequence vs video scroll vs three.js: how each technique works, and how they compare on smoothness, file size, mobile, realism, effort and LCP.Read the guide
- Guide · AI toolsKling 3.0 for website videos: how to make a scroll-hero clipMake a scroll-hero clip with Kling 3.0: one camera move, start and end keyframes, a prompt that avoids cuts, then join two clips and export the frames.Read the guide
- Guide · AI toolsSeedance for scroll website videos: one steady camera move, keyframe to keyframeMake a scroll-hero clip with Seedance: keyframes in, one steady camera move, the right settings, fixes for flicker and morphing, then frames via ffmpeg.Read the guide
Questions, answered.
The questions people ask most about this topic.
01How do I make a video play as you scroll?
Map scroll progress to a position in the footage. You can set a paused video's currentTime, but for smooth results in both directions convert the clip to an image sequence and draw frames on a canvas.
02Why does my scroll-scrubbed video stutter?
Each seek decodes from the nearest keyframe, and fast or reverse scrolling queues seeks faster than the decoder finishes. Re-encoding with a keyframe on every frame helps; switching to an image sequence fixes it.
03Do Kestra and Orbitly use video files on the page?
No. Both are built from video, but what ships is an image sequence scrubbed on a canvas: 443 frames for Kestra and 691 for Orbitly.
04Can I use my own footage?
Yes. Both templates include ffmpeg scripts to join clips and extract every frame tier, plus video prompts: Kestra's are the exact Nano Banana and Kling 3.0 prompts used for its footage, and Orbitly ships Seedance prompts.
05Is a video scroll hero bad for performance?
It can be if every frame loads up front. Kestra and Orbitly load light preview frames first and stream HD frames near the scroll position, so the story can scroll before the full set has loaded.