WordPress YouTube Block Does Not Work Correctly Inside Spectra Container
-
Hi Spectra Team,
I found a possible bug when using the native WordPress YouTube block inside a Spectra Container.
Issue
The native WordPress YouTube block works correctly when it is placed outside a Spectra Container. However, when the same YouTube block is moved inside a Spectra Container, the video does not render/display correctly.Steps to Reproduce
- Create a new WordPress page/post.
- Add the native WordPress YouTube block.
- Add this YouTube URL:
https://www.youtube.com/watch?v=xxxx - The YouTube video works correctly.
- Add a Spectra Container.
- Move the same YouTube block inside the Spectra Container.
- The YouTube video no longer renders correctly.
Expected Behavior
The native WordPress YouTube block should behave identically whether it is placed directly on the page or inside a Spectra Container.Actual Behavior
The YouTube block works outside the Spectra Container but fails to render correctly when placed inside the Spectra Container.
This suggests that the Spectra Container may be affecting the YouTube block’s iframe, dimensions, CSS, or JavaScript behavior.
Could you please investigate whether there is a compatibility issue between the Spectra Container and the native WordPress YouTube block?
Thank you.
You must be logged in to reply to this topic.