Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YouTube blocks do not render inside of reusable blocks #37467

Closed
cagrimmett opened this issue Dec 16, 2021 · 2 comments
Closed

YouTube blocks do not render inside of reusable blocks #37467

cagrimmett opened this issue Dec 16, 2021 · 2 comments
Labels
[Block] Embed Affects the Embed Block [Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Bug An existing feature does not function as intended

Comments

@cagrimmett
Copy link

Description

When a YouTube block is inside of a resuable block, it only renders as a link on the front-end rather than the embedded video. The same video renders just fine outside of the reusable block.

Step-by-step reproduction instructions

  1. Create a new post.
  2. Add any public YouTube video as a YouTube block.
  3. Make that block a reusable block.
  4. Publish and view the post.
  5. The video only renders as a link, rather than the embedded video.

Screenshots, screen recording, code snippet

CleanShot 2021-12-16 at 14 52 37@2x

Environment info

  • WordPress 5.8.2
  • Issue happens with and without the Gutenberg plugin running
  • All themes

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@NewYorkerLaura
Copy link

Upon further testing the identical issue also arises in the following blocks:

  • Vimeo Block
  • Embed Block

@skorasaurus skorasaurus added [Type] Bug An existing feature does not function as intended [Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) [Block] Embed Affects the Embed Block labels Dec 17, 2021
@Mamaduka
Copy link
Member

I am closing this as a duplicate of #14608.

@Mamaduka Mamaduka added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Embed Affects the Embed Block [Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

4 participants