-
Notifications
You must be signed in to change notification settings - Fork 138
Closed
Labels
[Plugin] Embed OptimizerIssues for the Embed Optimizer plugin (formerly Auto Sizes)Issues for the Embed Optimizer plugin (formerly Auto Sizes)[Type] BugAn existing feature is brokenAn existing feature is broken
Description
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
Metadata
Metadata
Assignees
Labels
[Plugin] Embed OptimizerIssues for the Embed Optimizer plugin (formerly Auto Sizes)Issues for the Embed Optimizer plugin (formerly Auto Sizes)[Type] BugAn existing feature is brokenAn existing feature is broken
