docs: replace editor screenshot with demo video#149
Merged
Conversation
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.
Summary
Replaces the static screenshot on the site's Unity Editor page with an MP4 conversion of the README's editor demo GIF, played as an autoplaying, looping, muted
<video>inside the existing window frame.Motivation
The editor page's only visual was one static frame while the README already shows the full animated flow. The GIF itself is 7 MB — too heavy for GitHub Pages — and GitHub's markdown sanitizer strips
<video>tags, so the README keeps the GIF while the site gets the MP4 (734 KB, ~10× smaller).Closes #148
Changes
site/images/editor-01.mp4(one-off ffmpeg conversion: H.264,yuv420p,+faststart, no audio, 1087×750 → 1086×750 for even dimensions)site/static/editor.html: swap the<img class="window-shot">for<video autoplay loop muted playsinline>with the same accessibility text as anaria-labelsite/build.mjs: copysite/images/intodist/images/; dropeditor-window.pngfrom the static copy listsite/static/editor-window.png(no remaining references)Testing
Browser check against the built
dist/(Playwright,http://localhost:8321/editor.html): the video autoplays inside the window frame (paused=false,currentTime8.65 → 9.85 over 1.2 s), loops, and fills the frame width.