[wp-trac] [WordPress Trac] #32260: YouTube oEmbeds always return HTTPS iframe src, breaking unit test

WordPress Trac noreply at wordpress.org
Tue May 5 21:29:15 UTC 2015


#32260: YouTube oEmbeds always return HTTPS iframe src, breaking unit test
--------------------------+-----------------
 Reporter:  boonebgorges  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.3
Component:  Embeds        |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------
 See #23149, [26978]. `test_youtube_com_secure_embed()` expects an oEmbed
 request for an `http://` video URL to return an iframe containing an
 `http://` `src` attribute. At some point in the last week (based on
 travis-ci build history), youtube.com changed their behavior so that all
 oEmbed requests return an iframe whose `src` is a secure `https://` URL.
 See eg
 http://www.youtube.com/oembed?url=http://www.youtube.com/watch?v=oHg5SJYRHA0.
 The test should be updated accordingly.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32260>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list