[wp-trac] [WordPress Trac] #40771: Unable to add YouTube video to Video Widget

WordPress Trac noreply at wordpress.org
Tue May 16 14:53:23 UTC 2017

#40771: Unable to add YouTube video to Video Widget
 Reporter:  taijacg       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.8
Component:  Widgets       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:

Comment (by taijacg):

 Replying to [comment:9 westonruter]:

 Interesting; it looks like the XHR request is failing with the status
 (blocked:mixed-content). Here are the headers- there is no response.

 Request URL:http://wp.local/search/wp-
 Referrer Policy:no-referrer-when-downgrade
 Request Headers
 Provisional headers are shown
 Accept:application/json, text/javascript, */*; q=0.01
 Query String Parameters
 view source
 view URL encoded

 > @taijacg Hi! Would you please open the network console and look at the
 XHR HTTP request that is made after you paste in the YouTube URL? It
 should be making a request off to the oEmbed endpoint in the WP REST API.
 If that request fails then that might be a reason you are seeing the
 error. Please share the HTTP response from that request.

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

More information about the wp-trac mailing list