Background Video Hero
A muted looping video behind the headline that stays readable and loads politely.
What it adds
A decorative looping video layer behind hero content, with a still image fallback and strict load conditions.
What your agent is told to do
5
What your agent is told to do
5-
1
Treat the video as decoration. The headline, subheading, and call to action must be fully legible and functional if the video never loads at all.
-
2
Give the hero a fixed height or aspect ratio through the app's Media Aspect Ratio System before anything loads, so the page does not reflow when the video or the poster arrives.
-
3
Always set a poster image that is the first frame of the loop, so the transition from still to motion is invisible rather than a visible swap.
-
4
Load the video only after the page is interactive and only on connections and screens where it makes sense. Everywhere else, the poster image is the hero.
-
5
Do not add controls, sound, or a pause button that does nothing. A background video must be muted, must loop, and must carry no audio track at all so it cannot compete with anything the user is playing.
Edge cases it handles
8
Edge cases it handles
8- Honour reduced motion and data saver preferences by showing the still image and never requesting the video. Reuse the app's Reduced Motion Support rather than checking the preference again in this component.
- Text over moving video loses contrast at unpredictable frames. Put a fixed overlay or gradient between the video and the text and verify contrast against the brightest frame in the loop, not against an average.
- Do not download the video on small screens or metered connections. A hero video is the largest asset on most marketing pages, and a phone on cellular data pays for it before seeing a word of the copy.
- A loop whose last frame does not match its first produces a visible jump every few seconds. Either cut the source so the seam matches or cross-fade the restart.
- Pause playback when the hero scrolls out of view and resume when it returns. A video decoding off-screen drains battery for nothing.
- The video element must be hidden from assistive technology and excluded from the tab order. It carries no information and should not be announced or focusable.
- Encode a small, short loop rather than a long high-bitrate clip scaled down in the browser. Compress the source through whatever the app already uses for media rather than uploading a raw export.
- If the video fails to load or decode, the poster must remain rather than collapsing to a blank or black hero.
Definition of done
9
Definition of done
9- Hero text and calls to action are legible and functional with the video absent.
- The hero reserves its dimensions before any media loads and the page does not shift.
- Reduced motion and data saver preferences result in the still image with no video request.
- No video is requested on small screens or metered connections.
- Text meets contrast requirements against the brightest frame of the loop.
- The loop restarts without a visible seam, and playback pauses when the hero leaves the viewport.
- The video is muted, has no audio track, and is hidden from assistive technology and the tab order.
- The feature matches the existing design system.
- No existing functionality is broken.
Related features
Hover Video Preview
Hover Video Preview
Hovering a video card plays a short silent clip so people see what it is before clicking.
What it does
A silent, short-loop preview that plays inside a video card on deliberate hover and returns to the poster on exit.
How it works
- 1 Generate a short, low-resolution, silent preview clip during video processing and store it alongside the poster frame. Do not play the full source file behind the card.
- 2 Require a deliberate hover before doing anything. Wait several hundred milliseconds after the pointer settles, then load, so a cursor crossing a grid does not fire a dozen requests.
- 3 Give touch devices an explicit preview control on the card, since hover does not exist there. A long-press or a small preview button is fine; silently doing nothing on mobile is not.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/hover-video-preview
Audio Waveform Scrubber
Audio Waveform Scrubber
Show the shape of a track so listeners can see the quiet and loud parts and click to them.
What it does
A waveform rendered from precomputed amplitude data, doubling as the seek control on the audio player.
How it works
- 1 Compute the amplitude data on the server when the file is first stored, and serve it as a small dataset the page can draw. Do not decode the audio in the browser to build the waveform.
- 2 Replace the plain scrub bar in the app's existing Audio Player with this surface rather than adding a second seek control beside it.
- 3 Draw played and unplayed regions distinctly, and keep the playhead position exact under click, drag, and keyboard seeking on the same surface.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/audio-waveform-scrubber
Video Upload and Encoding
Video Upload and Encoding
Accept a video file and turn it into versions that play in a browser.
What it does
An upload path for video files plus a background pipeline that produces web-playable renditions and a poster frame.
How it works
- 1 Extend the app's existing File Upload rather than adding a second uploader. Video differs in size and in the processing that follows, not in how a user picks a file, and two uploaders means two sets of limits to keep in sync.
- 2 Upload in resumable chunks straight to storage, and enforce size, duration, and type limits on the server. Client-side limits are a convenience, not a control.
- 3 Do the encoding in the app's existing background job system so the user is not holding a tab open, and surface its state through the app's existing Background Job Progress rather than a bespoke poller.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/video-upload-and-encoding
How it works
-
1
Copy the link
Grab the Markdown instruction URL for this feature.
-
2
Give it to your AI
Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.
-
3
It inspects, then implements
Your agent reads your existing app first, then adds the feature to fit it.
Works with your stack
These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.
Need it tighter than that? Customize the feature and tell it exactly what you're running.