Repository navigation
a 43 second demo video built from the real binary, in the hero - #502
Merged
Merged
Conversation
…ce of the YouTube embed Thanks, Gerard Recinto
gerardrecinto
enabled auto-merge (squash)
October 5, 2026 07:37
Gemini PR ReviewReviewed commit:
This result blocks merge. Push a fix and comment |
Collaborator
Author
|
/gemini dispute
Thanks, Gerard Recinto |
Collaborator
Author
|
/gemini review |
Gemini PR ReviewReviewed commit: No actionable findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The hero now plays a 43 second, silent, 1080 by 1080 demo in place of the YouTube embed. An agent says the backup is fine and proposes dropping production, Joltrin blocks it because no validated backup is on record, the structured block result is shown, the agent runs the missing steps, and the same action is then allowed. It ends on the tagline, joltrinhq.com and the demo command.
Every line of terminal text and the JSON in the video is read from the real binary at build time. scripts/promo/capture.mjs runs sop-mcp-server demo, demo --json, and one execute_step over MCP stdio, scripts/promo/render.mjs draws the scene at 30 fps in Chromium, and scripts/promo/build.sh encodes it with ffmpeg. Rebuilding from this tree gives byte-identical files, so the video cannot drift from the product. The only things not from the binary are the captions and the check line, which are labelled as narration in the footer.
Files: joltrin-barrier.mp4 (1.3 MB, H.264, faststart), a 720 px copy for phones (714 KB), and two posters. The page picks the small file on a narrow screen or with data saver on.
Homepage: the video is in the hero beside the headline and the YouTube embed and its roughly 6 MB of third-party scripts are gone. It has no source until the page has loaded, plays only while on screen, pauses when scrolled away, has a keyboard-reachable Play and Pause button, and does not autoplay for visitors who prefer reduced motion, who get the poster and the button. There is a text version under it for people who cannot play video. The layout is fixed square, so there is no layout shift. The README uses the poster linking to the file.
Measured in headless Chromium against the homepage on master, three runs each: requests 38 to 12, third-party bytes about 6.9 MB to 0.93 MB. The load event was already about 340 to 370 ms because the YouTube player started after load, and is 340 to 450 ms now, so that did not change. Cumulative layout shift 0. On emulated Fast 3G with a phone viewport the first paint was 2.3 s and the load event 3.2 s, and the video file was not requested during load.
Tests: the homepage tests for the old iframe are replaced with tests that the video is in the hero and silent with a poster and no source at parse time, that it plays when on screen and the button pauses and resumes it, that reduced motion gets no autoplay but can still start it, and that the files exist and stay under size limits. The homepage and interaction suites pass on Chromium and Pixel 5, and the homepage suite also passes on WebKit and iPhone 12.
Thanks, Gerard Recinto