[wp-trac] [WordPress Trac] #24660: YouTube oEmbeds don't work for full-width YouTube video links
WordPress Trac
noreply at wordpress.org
Mon Jul 29 15:58:47 UTC 2013
#24660: YouTube oEmbeds don't work for full-width YouTube video links
--------------------------------------+------------------------------
Reporter: designsimply | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version:
Severity: normal | Resolution:
Keywords: dev-feedback 2nd-opinion |
--------------------------------------+------------------------------
Comment (by wonderboymusic):
If you go to Share > Embed, it gives you the `<iframe>` code to paste in -
using the `src` from there is a you-break-it-you-bought-it situation. The
`/embed/` and mobile with `#` would have to be new YouTube oEmbed
providers in WP, but would need additional hacks to turn `/embed/` into
`/watch?v=`. Might be best tackled in `pre_kses` or something.
Jetpack does all kinds of crazy stuff to YouTube URLs. I actually turned
off most of what it does on a site I am building, but for these scenarios,
there is probably some useful code in there.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24660#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list