Audio Waveform Scrubber
Show the shape of a track so listeners can see the quiet and loud parts and click to them.
What it adds
A waveform rendered from precomputed amplitude data, doubling as the seek control on the audio player.
What your agent is told to do
5
What your agent is told to do
5-
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.
-
4
Reserve the waveform's height and width before the data arrives and show a placeholder in that space, so the player does not resize when it loads.
-
5
Do not make the waveform the only way to seek. Keep the elapsed and total time readable and keyboard seeking available, because a waveform is unusable to anyone who cannot see it.
Edge cases it handles
8
Edge cases it handles
8- Decoding audio in the browser to draw a waveform blocks the main thread and downloads the whole file before playback can start. Precompute once at upload and reuse the result for every listener.
- A canvas drawn at layout size looks blurry on high-density screens and stretches on resize. Redraw at the device pixel ratio, and redraw again when the container width changes rather than scaling the existing bitmap.
- Waveform data arrives after the player does. Show a neutral placeholder of the right dimensions in the meantime and keep the player fully usable, rather than blocking playback on a decorative asset.
- Distinguishing played from unplayed by colour alone fails for colour-blind listeners and in high-contrast mode. Vary opacity, height, or fill as well.
- Click, drag, and keyboard must all seek the same surface. Dragging must not select surrounding text, and releasing outside the waveform must still resolve to a sensible position rather than leaving the player stuck in a drag.
- A file with no computed waveform, or one still being processed, must fall back to the plain scrub bar rather than showing an empty box.
- Very long recordings compress thousands of samples into a few hundred columns. Fix the number of columns to the drawn width so the data volume does not grow with duration.
- The waveform needs an accessible role and value so a screen reader announces the position as a slider, not as an unlabelled image.
Definition of done
9
Definition of done
9- Waveform data is computed server-side at upload and served as a compact dataset.
- The waveform is the player's seek control, not a second one alongside it.
- Click, drag, and keyboard seeking all work on the same surface and land on the same position.
- Played and unplayed regions are distinguishable without relying on colour.
- The waveform redraws sharply on resize and on high-density displays.
- A placeholder of the correct dimensions shows while data loads, with no layout shift.
- Files with no waveform data fall back to the plain scrub bar and remain playable.
- 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
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
Picture-in-Picture Mode
Picture-in-Picture Mode
Let viewers pop a video into a floating window and keep using the rest of the app.
What it does
A control on the video player that hands the video to the browser's floating always-on-top window.
How it works
- 1 Add the control to the app's existing video player rather than building a separate popped-out player. Two players competing over the same element is the main way this feature goes wrong.
- 2 Keep the app in sync with the floating window in both directions. Pausing, seeking, or changing volume from the floating window must update the in-page player, and closing the floating window must return playback to the page at the same position.
- 3 Decide explicitly what happens when the user navigates away from the page that owns the video. Either keep the floating window alive and reconnect when they return, or end it cleanly, but do not leave a floating window playing a video the app has forgotten about.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/picture-in-picture-mode
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.