Repository navigation
Replace the animated GIF demos on tool pages with video - #195
Closed
bendichter wants to merge 1 commit into
Closed
bendichter wants to merge 1 commit into
bendichter wants to merge 1 commit into
Conversation
Six tool pages embedded screen recordings as animated GIFs, which totalled 51 MB. The NWB Widgets page alone loaded a 22 MB GIF and the Suite2p page a 17 MB one. They are now H.264 MP4 files (5.4 MB in total) played with a muted, looping, inline video element, which behaves the same way as the GIF did. The Suite2p recording is scaled from 1920 to 1600 pixels wide and the others keep their size. The DeepLabCut and SLEAP cards on the Community Tools page used the same GIFs as their card image. Those are now animated WebP files, since the card template takes an image. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for nwborg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
Author
|
Superseded by #207, which combines this with the related PRs. The commits here are included there unchanged. |
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.
Six tool pages embed screen recordings as animated GIFs, 51 MB in total. The NWB Widgets page loads a 22 MB GIF and the Suite2p page a 17 MB one.
This converts them to H.264 MP4 (5.4 MB in total) and embeds each with a muted, looping, inline
<video>, the same pattern the Supporting NWB page already uses, so they still play automatically without controls. The Suite2p recording is scaled from 1920 to 1600 px wide and is still the largest at 4.1 MB. The others keep their size.The DeepLabCut and SLEAP cards on the Community Tools page used the same GIFs as their card image. Those are now animated WebP (0.6 MB and 0.3 MB), since the card template takes an image. The GIF originals are removed.
🤖 Generated with Claude Code