Replace ADP home infographic GIF with video#187
Open
JakeSCahill wants to merge 1 commit into
Open
Conversation
Convert the 4.3 MB adp-infographic.gif to WebM (20 KB) + MP4 (46 KB) with a JPG poster (19 KB) and remove the GIF. Pairs with the docs-ui markup change that swaps the <img> for a <video> element. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
✅ Deploy Preview for redpanda-documentation ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
Author
|
Companion PR (UI markup — swaps the |
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.

What & why
The home page's "Build agentic data flows" card used
adp-infographic.gif(~4.3 MB, 960×320), loaded eagerly as the LCP element. Lighthouse flagged it under "Use video formats for animated content" (~3.96 MB potential saving) and "Properly size images".This replaces the GIF with much smaller video formats:
adp-infographic.webm(VP9)adp-infographic.mp4(H.264)adp-infographic-poster.jpg(removed)adp-infographic.gif4.3 MB~98% reduction on the home page's largest asset.
Companion PR
The markup change (swap
<img>→<video>) lives in redpanda-data/docs-ui#394. Both must land together — the UI bundle references.webm/.mp4/poster that this PR adds.Testing
Built docs-ui with the new markup, pointed
local-antora-playbook.ymlat the bundle, rannpm run build-local, and confirmed the home card autoplays the WebM (muted, looping) with the poster shown pre-play, scaling correctly on desktop and mobile.🤖 Generated with Claude Code