Repository navigation
Video Block: Add a Media section and a setup-state toolbar option - #84602
Conversation
🤖 PR meta 🤖🎉 PropsIf you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
Updated as activity occurs, without notifying anyone named here. Add the 📦 Bundle sizeSize Change: +129 B (0%) Total Size: 8.85 MB 📦 View Changed
⚡ PerformanceShow the resultsClient side metrics exclude the server response time. front-end-block-theme
front-end-classic-theme
media-processing
media-upload
post-editor
site-editor
🏁 Flaky testsSome tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information. As a user I want to be able to create a navigation overlay for a specific navigation block in
|
|
Thanks for all these PRs. Same feedback as on the Audio block applies here, and due to the recent discussions around the feature overall, perhaps we can briefly pause them until we have a decision, which I hope will land soon. |
Agreed! I’ll hold off on creating any new PRs for now. I’ve already created three PRs for the File, Video, and Audio Blocks. I think it would be better to wait until a decision is made before continuing development. |
|
I shared an idea in #66563 about how the control handles different media types. |
@im3dabasia I think the blank thumbnail has already been addressed on trunk, since |
55148e0 to
79068ed
Compare
|
@t-hamano Rebased on trunk, and the video now shows its icon. Could you take another look? Here's a short video reference of what it looks like today: Screen.Recording.2026-11-30.at.3.16.24.PM.mov |
|
@im3dabasia, can you resolve the merge conflicts? |
Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>
|
Thanks, @t-hamano 🙌, and thanks to everyone involved in this PR. I'm going to merge this! |
What?
See #66563.
Video now offers media from the inspector and from the toolbar in its setup state, like Image, Cover, Media & Text and Site Logo.
Why?
- The toolbar only appeared once a video was set, so it could replace but never add.
- The inspector had no Media section at all.
How?
MediaControl, matching the blocks that already have itTesting Instructions
Screencast
Screen.Recording.2026-10-13.at.1.08.12.PM.mov
Open questions
Follow-ups
On the duplication
cc @WordPress/gutenberg-design
Use of AI Tools
Claude Code. I reviewed and tested the change and take responsibility for it.