[wp-trac] [WordPress Trac] #10337: Easier embeds for 2.9 (oEmbed perhaps?)
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 23 19:59:45 UTC 2009
#10337: Easier embeds for 2.9 (oEmbed perhaps?)
----------------------------+-----------------------------------------------
Reporter: ryan | Owner: Viper007Bond
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 2.9
Component: Shortcodes | Version:
Severity: normal | Keywords: needs-testing
----------------------------+-----------------------------------------------
Comment(by Otto42):
Minor youtube embed issue, it doesn't handle the non-www version anymore,
unless you have unfiltered-html.
Quick fix: Replace the youtube provider info with this:
{{{
'#http://(www\.)?youtube\.com/watch.*#i' => array(
'http://www.youtube.com/oembed', true)
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10337#comment:46>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list