Skip to content

fix: use video tag for demo to bypass data-animated-image#163

Closed
sethrylan wants to merge 1 commit into
mainfrom
fix/demo-gif-video
Closed

fix: use video tag for demo to bypass data-animated-image#163
sethrylan wants to merge 1 commit into
mainfrom
fix/demo-gif-video

Conversation

@sethrylan
Copy link
Copy Markdown
Owner

Summary

  • Replaces ![demo video](...) img tag with a <video> tag

GitHub adds data-animated-image server-side to any GIF <img>, and when the viewer has "Autoplay animated images" set to "Sync with system" + Reduce Motion enabled, the component suppresses the image entirely. The <video> tag bypasses this component and renders natively.

GitHub's data-animated-image component suppresses GIFs when the user
has Reduce Motion enabled. A video tag renders natively without that
component.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

🎬 Generate a demo GIF for this PR:

gh workflow run demo.yml -R sethrylan/readis -f pr_number=163

Or run from the Actions tab.

@sethrylan sethrylan closed this May 21, 2026
@sethrylan sethrylan deleted the fix/demo-gif-video branch May 21, 2026 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant