Add Rdio to the default oembed providers list.

Props zekeweeks
fixes #24242


git-svn-id: https://develop.svn.wordpress.org/trunk@24160 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2013-05-02 22:04:23 +00:00
parent 9d484d32f8
commit e3d41d52ac
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().