Support Spotify web player links. see #24242.
git-svn-id: https://develop.svn.wordpress.org/trunk@24165 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6a0d5afcbc
commit
f474b3fbaf
@ -53,7 +53,7 @@ class WP_oEmbed {
|
||||
'#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 ),
|
||||
'#https?://open.spotify.com/.*#i' => array( 'https://embed.spotify.com/oembed/', true ),
|
||||
'#https?://(open|play).spotify.com/.*#i' => array( 'https://embed.spotify.com/oembed/', true ),
|
||||
) );
|
||||
|
||||
// Fix any embeds that contain new lines in the middle of the HTML which breaks wpautop().
|
||||
|
Loading…
Reference in New Issue
Block a user