Add the Daily Motion shortlink, dai.ly, to the default oembed provider list.

Props georgestephanis
fixes #24353


git-svn-id: http://core.svn.wordpress.org/trunk@24302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan Boren 2013-05-20 12:08:07 +00:00
parent a2b4bc456f
commit 1eff4a8a62
1 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@ class WP_oEmbed {
'http://blip.tv/*' => array( 'http://blip.tv/oembed/', false ),
'#https?://(www\.)?vimeo\.com/.*#i' => array( 'http://vimeo.com/api/oembed.{format}', true ),
'#https?://(www\.)?dailymotion\.com/.*#i' => array( 'http://www.dailymotion.com/services/oembed', true ),
'http://dai.ly/*' => array( 'http://www.dailymotion.com/services/oembed', false ),
'#https?://(www\.)?flickr\.com/.*#i' => array( 'http://www.flickr.com/services/oembed/', true ),
'http://flic.kr/*' => array( 'http://www.flickr.com/services/oembed/', false ),
'#https?://(.+\.)?smugmug\.com/.*#i' => array( 'http://api.smugmug.com/services/oembed/', true ),