Hero sections
Quiet Loop
Muted video behind the headline, with a poster frame that holds if the video never loads.
R880
Once. Yours to keep
The shape of it, not a screenshot
What it is
A first-screen block with a muted, looping video behind the text. The poster frame paints first and the video is fetched after it, so the first thing on screen is a still image and a readable headline rather than a spinner. If the connection is slow, if the file fails, or if the visitor has reduced motion turned on, the poster stays and nothing else happens.
It comes as an Astro component with the headline, sub-line and two buttons as props. Between the video and the text there is a scrim layer with its opacity and gradient direction exposed as variables, because every clip needs a different amount of it. There are ffmpeg commands in the readme for getting an MP4 and WebM pair down to a sensible size, and a twelve-second test loop so you can see it working before you have your own footage.
You need a video: ten to fifteen seconds, no cuts, nothing that reads as stock footage. Without one this is the wrong thing to buy — Cover Plate or Set in Lead will serve you better. It is also wrong if most of your traffic is on metered mobile data. Even a well-encoded loop is a megabyte or two, and no amount of care changes that.
What you get
- Hero.astro with headline, sub-line and two button slots
- Poster-first loader, about 30 lines of plain JavaScript
- prefers-reduced-motion path that holds the poster and stops there
- Scrim layer with opacity and gradient direction as CSS variables
- ffmpeg commands for the MP4 and WebM encode
- Twelve-second test loop for development, not for production
After you buy
- 01 You message me On WhatsApp. Tell me which one and where it is going.
- 02 I set it up for you Your words, your colours, your logo dropped in — or the raw files if you would rather do it yourself.
- 03 It goes live On your hosting or on mine. Either way it ends up in your own account.
- 04 It is yours The whole thing, with nothing to renew and nothing tied back to me.
You might also want
- Hero sections R740 Cover Plate One photograph across the whole screen under a scrim measured for readable text.
- Hero sections R650 Drift Field A canvas of drifting dots behind the text. About 4 KB of JavaScript, no image files.
- Hero sections R560 Ticker Band A headline over a band of text that scrolls sideways and never stops.
Nothing to look at yet
This one is written up but not built, so there is no live version to show. Ask me and I will tell you honestly how long it would take.
Ask about it