Add support for webm format in Picture component video check - #926
Add support for webm format in Picture component video check#926goekce wants to merge 2 commits into
Conversation
|
❌ Deploy Preview for myst-theme failed. Why did it fail? →Built without sensitive environment variables
|
There was a problem hiding this comment.
Pull request overview
Adds .webm detection to the Picture component so WebM sources are treated as videos (matching existing .mp4 behavior) in the React renderer.
Changes:
- Extend the video-source check in
Pictureto include.webm. - Adjust the
ifcondition layout around the video check (introducing a formatting inconsistency that should be cleaned up).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Fixes: jupyter-book/mystmd#2996
Related mystmd component PR: jupyter-book/mystmd#2999