Add Rdio to the default oembed providers list.

Props zekeweeks
fixes #24242


git-svn-id: http://core.svn.wordpress.org/trunk@24160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan Boren 2013-05-02 22:04:23 +00:00
parent be2a208624
commit ac0e0c2112
1 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,8 @@ class WP_oEmbed {
'#https?://(www\.)?soundcloud\.com/.*#i' => array( 'http://soundcloud.com/oembed', true ),
'#https?://(www\.)?slideshare.net/*#' => array( 'http://www.slideshare.net/api/oembed/2', true ),
'#http://instagr(\.am|am\.com)/p/.*#i' => array( 'http://api.instagram.com/oembed', true ),
'#https?://(www\.)?rdio\.com/.*#i' => array( 'http://www.rdio.com/api/oembed/', true ),
'#https?://rd\.io/x/.*#i' => array( 'http://www.rdio.com/api/oembed/', true ),
) );
// Fix any embeds that contain new lines in the middle of the HTML which breaks wpautop().