[wp-trac] [WordPress Trac] #52768: WordPress post URL oEmbed rendering blocked by iframe lazy-loading
WordPress Trac
noreply at wordpress.org
Fri Mar 26 03:47:03 UTC 2021
#52768: WordPress post URL oEmbed rendering blocked by iframe lazy-loading
---------------------------+--------------------------
Reporter: SirStuey | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.7.1
Component: Embeds | Version: 5.7
Severity: normal | Resolution:
Keywords: needs-testing | Focuses: performance
---------------------------+--------------------------
Comment (by SirStuey):
Replying to [comment:15 peterwilsoncc]:
> Replying to [comment:14 SirStuey]:
> > Have there been any other bug reports or wordpress.org support
requests regarding embeds other than those related to WordPress post (or
product) embeds?
>
> There is #52856 but I am still waiting to hear back as to whether it is
related to lazy loading.
I would suspect that since WooCommerce is a WordPress plugin, the embeds
are treated in the same manner as Wordpress posts, with some browsers
treating them as hidden by intent due to the default embed behavior.
Amazon embeds look the same to me - improper Kindle "previews" instead of
product snippets - before and after the 5.7 update.
I would assume that WooCommerce embeds will display properly if identified
and excluded as Wordpress embeds.
> This raises an excellent point, embed providers that are known to work
well with lazy loading could be detected and lazy loaded. An allow list of
such providers (YouTube, Twitter, etc) would cover most embeds without the
need for a full revert.
>
> Thanks for the push back and allowing the range of options available for
a fix to increase. 🙂
Thank you, I'm glad for the opportunity to be heard and also to help in
any way!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52768#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list