Skip to content

Commit 0008bd6

Browse files
feat(landing): the console recording is in, at 262KB instead of 31MB
The owner's capture: 1920x1080, 60fps, 24.6s, 10.4Mbps, 31MB. Correct content, unusable weight — that is an autoplay asset on the landing page, so every judge who opens the link would have paid for it before seeing anything. Cut to 3s-11s. The first ~2.5 seconds were dropped because the navbar is still painting in them, which reads as a broken header on a loop; from 3s the frame is clean and the scroll runs continuously through the ranked rows. Ends before the owner scrolled back up, so the loop does not visibly reverse. Re-encoded at 1280x720 / 30fps / CRF 30, audio stripped, faststart for progressive load. 31MB to 262KB — 120x smaller — and checked frame by frame afterwards: score rings, sparklines, star counts and the navbar's live "9 MIN OLD / 31 TRACKED / 996 SIGNALS 24H" all stay legible at the ~484px this renders at. Added a 40KB poster frame so the panel shows the product rather than a blank box while the video loads, and an aria-label since a muted looping video with no captions is otherwise silent to a screen reader. VERIFICATION LIMIT, stated plainly: the preview pane runs hidden, which suspends media playback, so I confirmed readyState 4, the correct autoplay/muted/loop/playsInline attributes and the rendered geometry — but I have not watched it play. Muted autoplay is the combination browsers permit, so it should be fine; it wants one look in a real tab. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent e4093cf commit 0008bd6

4 files changed

Lines changed: 12 additions & 2 deletions

File tree

39.8 KB
Loading

‎frontend/public/media/console.mp4‎

262 KB
Binary file not shown.

‎frontend/src/components/landing/ChMeasure.tsx‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,17 @@ export default function ChMeasure({
133133
this becomes the capture instead, with no other change. */}
134134
<figure className="media-frame mt-10" data-sc-in data-sc-reveal="right">
135135
{HAS_CONSOLE_VIDEO ? (
136-
<video src="/media/console.mp4" autoPlay muted loop playsInline className="h-auto w-full" />
136+
<video
137+
src="/media/console.mp4"
138+
poster="/media/console-poster.jpg"
139+
autoPlay
140+
muted
141+
loop
142+
playsInline
143+
preload="metadata"
144+
aria-label="A screen recording of the StackRadar console, scrolling the ranked technology list"
145+
className="h-auto w-full"
146+
/>
137147
) : (
138148
<Image
139149
src="/media/shot-explore.png"

‎frontend/src/lib/media.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212

1313
/** frontend/public/media/console.mp4 — 5-10s screen capture of the console. */
14-
export const HAS_CONSOLE_VIDEO = false;
14+
export const HAS_CONSOLE_VIDEO = true;
1515

1616
/** frontend/public/media/founder.jpg — headshot, portrait 4:5. */
1717
export const HAS_FOUNDER_PHOTO = false;

0 commit comments

Comments
 (0)