[wp-trac] [WordPress Trac] #32714: oEmbed of m.youtube.com links don't render
WordPress Trac
noreply at wordpress.org
Tue Aug 4 11:19:25 UTC 2015
#32714: oEmbed of m.youtube.com links don't render
--------------------------------------+-----------------------------
Reporter: undergroundnetwork | Owner: wonderboymusic
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.3
Component: Embeds | Version: 3.9
Severity: normal | Resolution:
Keywords: good-first-bug has-patch | Focuses:
--------------------------------------+-----------------------------
Comment (by ocean90):
Replying to [comment:9 undergroundnetwork]:
> This fix seems to no longer work, the mobile YouTube links no longer
rendering again. This link does not render for example:
>
> {{{
> https://m.youtube.com/watch?feature=youtu.be&v=peVH0k0Hisc
> }}}
Which version are you testing? Your link seems to work for me:
{{{
var_dump( esc_html( wp_oembed_get(
'https://m.youtube.com/watch?feature=youtu.be&v=peVH0k0Hisc' ) ) );
// string(189) "<iframe width="660" height="371"
src="https://www.youtube.com/embed/peVH0k0Hisc?feature=oembed"
frameborder="0" allowfullscreen></iframe>"
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32714#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list