Cover block: fix embed video background Error 153 in editor#76904
Cover block: fix embed video background Error 153 in editor#76904
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If 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. |
|
Size Change: +41 B (0%) Total Size: 7.73 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in fea5f4f. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/23746025601
|
shimotmk
left a comment
There was a problem hiding this comment.
I have confirmed that the bug is fixed in the wp-env environment by following the Testing Instructions.
It is a mystery why it does not work with an iframe but works with the Sandbox component.
|
@shimotmk Thanks for the review! |
Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: shimotmk <shimotomoki@git.wordpress.org> Co-authored-by: juanmaguitar <juanmaguitar@git.wordpress.org> Co-authored-by: prasadkarmalkar <prasadkarmalkar@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
|
I just cherry-picked this PR to the wp/7.0 branch to get it included in the next release: 1de5b19 |
Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: shimotmk <shimotomoki@git.wordpress.org> Co-authored-by: juanmaguitar <juanmaguitar@git.wordpress.org> Co-authored-by: prasadkarmalkar <prasadkarmalkar@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Fixes #76902
What?
Fixes an issue where using a YouTube URL as a cover block embed video background displays Error 153 in the editor.
Why?
To be honest, we don't know the exact cause. It seems to be related to the referrer. Similar to the Embed block, using the
Sandboxcomponent seems to resolve the issue.The following are the AI's findings.
Testing Instructions
These are the URLs I used for testing.
I was unable to test the following two providers correctly.
Use of AI Tools
This PR was developed with the assistance of Claude Code (claude-sonnet-4-6).
Screenshot