Repository navigation
The site plays the film: a silent loop at the top, the whole film further down - #15
Merged
Merged
Conversation
…ther down The loop at the top of the page is a video now, not the GIF: the same stretch of the film, 1.1 MB where the GIF was 8.2, at 60 fps and twice the width it is shown at. It starts on its own as the GIF did, stays on its first frame for a visitor who asks for less motion, and has a button to pause it. A section before the live demo holds the whole film with its sound, loaded only when it is played and served by the site itself, so the page gains no third-party player. `npm run video -- --loops` rebuilds the README GIF and the loop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
autoplay, so the browser begins playback once the page is visible.prefers-reduced-motionit stays on its first frame.preload="none", so nothing loads until Play. The site serves the file itself, so the page adds no YouTube scripts or cookies.tools/video.mjswritesdocs/video/fillsmith-demo.mp4and its poster next to the README GIF.--loops(formerly--gif) rebuilds both.tools/site.mjscopies the loop, the film and its poster, and no longer copies the GIF. Its dev server now answers range requests, as GitHub Pages does, so the film can seek.Testing:
npm testpasses all four suites.🤖 Generated with Claude Code