[wp-trac] [WordPress Trac] #44688: Instagram embeds no longer displaying in WordPress posts/pages

WordPress Trac noreply at wordpress.org
Wed Aug 1 04:25:04 UTC 2018


#44688: Instagram embeds no longer displaying in WordPress posts/pages
--------------------------+----------------------
 Reporter:  alisterscott  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Embeds        |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by pento):

 * status:  new => closed
 * version:  4.9.7 =>
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Thanks for the report, @alisterscott!

 This  is caused by Instagram.

 Their
 [https://api.instagram.com/oembed/?url=https://www.instagram.com/p/BlMg3iolq9e/
 oEmbed response] has added `?utm_source=ig_embed` to the URL, which the
 JavaScript they use to generate the `iframe` doesn't allow for, hence
 `embed/` appearing after that URL parameter in the `iframe` `src`, rather
 than before. Until they remove the URL param, or update their JS to allow
 for it, Instagram embeds are going to be broken.

 Unfortunately, there's not a lot we can do about this, Instagram have
 broken embeds for everyone, not just WordPress:

 https://twitter.com/search?f=tweets&vertical=default&q=instagram%20embed&qf=off

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44688#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list