Hello,
WP 5.8.2, GP Theme, GP Blocks and GP Premium only, nothing more.
Embedding Youtube block on WP Page or WP Footer Widget works nice.
Embedding Youtube block into GP Container and Grid works fine if it is placed inside a WP Page.
Embedding Youtube block into an GP Block Element-GP Container and Grid does not work, only the Youtube links shows.
As I can see, the iframe declaration is missing when using GP Block Element.
The correct one, when embedding works:
<figure class=”wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube
wp-embed-aspect-16-9 wp-has-aspect-ratio”>
</figure>
The wrong one, when embedding does not work using GP Block Element:
/*<figure class=”wp-block-embed alignfull is-type-video is-provider-youtube wp-block-embed-youtube
/*wp-embed-aspect-16-9 wp-has-aspect-ratio”>
/*
/*https://www.youtube.com/watch?v=mNAlQDNyJPg
/*
</figure>”
The same problem as was already reported in https://generatepress.com/forums/topic/youtube-embed-works-fine-in-admin-panel-shows-only-url-on-live-site/#post-2052894
KR, Zoltán