[wp-trac] [WordPress Trac] #32161: support youtube search friendly URL usualy used for sharing http://www.youtube.com/v/dr4HHepGxxM

WordPress Trac noreply at wordpress.org
Wed Apr 29 19:26:13 UTC 2015


#32161: support youtube search friendly URL usualy used for sharing
http://www.youtube.com/v/dr4HHepGxxM
--------------------------+------------------------------
 Reporter:  ritter.aaron  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Embeds        |     Version:  4.2.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by johnbillion):

 @dmchale WordPress doesn't fetch the embed URL, so whether or not its page
 contains a `<link>` tag with the oEmbed endpoint is moot. WordPress just
 passes the URL to the known oEmbed endpoint for that provider and embeds
 the response.

 As you've noted, we already have `wp_embed_handler_youtube()`. Your patch
 should be sufficient.

 It'd be nice if we had some unit tests for these.

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


More information about the wp-trac mailing list