[wp-trac] [WordPress Trac] #38181: Add oEmbed support for Amazon Kindle Instant Previews

WordPress Trac noreply at wordpress.org
Fri Oct 7 01:50:52 UTC 2016


#38181: Add oEmbed support for Amazon Kindle Instant Previews
------------------------------------------------------+--------------------
 Reporter:  jsepia                                    |       Owner:
     Type:  enhancement                               |      Status:  new
 Priority:  normal                                    |   Milestone:  4.7
Component:  Embeds                                    |     Version:  trunk
 Severity:  normal                                    |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-tests  |     Focuses:
------------------------------------------------------+--------------------

Comment (by jsepia):

 We understand the concerns around having to support multiple domains. Our
 primary reason for doing it this way was making sure that customers'
 requests are always directed to the nearest, fastest servers.

 I was able to find a solution with my team that allowed us to remove the
 troublesome TLD matching logic. In order to make sure that WordPress
 customers don't experience overly high latency when embedding Kindle
 previews, we would like to maintain four different versions of the regex,
 each of one pointing to the dedicated endpoint for that region.

 Replying to [comment:14 dd32]:
 > Looking at the logic required for Amazon, I don't think it really makes
 sense for Core to add the extra routing support.
 >
 > However, I think this is a prime case where the provider (Amazon) should
 [http://oembed.com/#section4 enable oEmbed Discovery] on the URLs so as to
 be able to handle the slightly complex routing on their side.

 Agreed. That is definitely in the roadmap for us.

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


More information about the wp-trac mailing list