[wp-trac] [WordPress Trac] #39410: Add oEmbed Support for Twitch.tv

WordPress Trac noreply at wordpress.org
Fri Dec 30 01:03:41 UTC 2016

#39410: Add oEmbed Support for Twitch.tv
 Reporter:  jeffr0                         |       Owner:
     Type:  enhancement                    |      Status:  new
 Priority:  normal                         |   Milestone:  Awaiting Review
Component:  Embeds                         |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  reporter-feedback needs-patch  |     Focuses:

Comment (by dd32):

 Example Twitch.tv oembed response:

 sourced from https://github.com/iamcal/oembed/pull/173/files (although I
 switched that from v4 to v5)
 Above link suggests it can handle `//clips.twitch.tv/*, //www.twitch.tv/*,

 > Does the oEmbed endpoint work with WordPress’ oEmbed auto-discovery? If
 not, could it be made to work with additional HTML tags or attributes
 being whitelisted?

 Having looked at their oEmbed output (at least in that case), it looks
 like it's just an `<iframe>` which would infer that oEmbed Discovery would
 work, however they don't appear to expose the oEmbed Discovery data on the
 embeddable pages.
 I don't see any official docs for the endpoint though.

 I feel the best way forward here is for Twitch.tv to officially expose the
 auto discovery headers for oEmbed (which should mean it'll just work in
 WordPress) and document their endpoint. In the event they document the
 endpoint and expose something more than just an `iframe`, we can then look
 at whitelisting.

Ticket URL: <https://core.trac.wordpress.org/ticket/39410#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list