Bug Description
When the Embed Optimizer plugin is active, it adds loading=lazy to a Post Embed iframe. Apparently because WordPress styles the initial iframe as pseudo-hidden with clip: rect(1px, 1px, 1px, 1px), Chrome (at least) is interpreting this to mean that the iframe is hidden and thus shouldn't be loaded yet. However, since the iframe never loads, the JS inside the iframe never fires and doesn't communicate with the parent window to show the iframe.
Steps to reproduce
- Enable Embed Optimizer
- Add a Post Embed
- View the post with the embed on the frontend
Screenshots

Bug Description
When the Embed Optimizer plugin is active, it adds
loading=lazyto a Post Embediframe. Apparently because WordPress styles the initial iframe as pseudo-hidden withclip: rect(1px, 1px, 1px, 1px), Chrome (at least) is interpreting this to mean that the iframe is hidden and thus shouldn't be loaded yet. However, since the iframe never loads, the JS inside the iframe never fires and doesn't communicate with the parent window to show the iframe.Steps to reproduce
Screenshots