Fix regex. Props Viper007Bond. see #10337

git-svn-id: http://svn.automattic.com/wordpress/trunk@12138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-11-02 20:50:49 +00:00
parent 41823a3171
commit 872e7cc3eb
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class WP_oEmbed {
'#http://(www\.)?youtube.com/watch.*#i' => array( 'http://www.youtube.com/oembed', true ),
'http://blip.tv/file/*' => array( 'http://blip.tv/oembed/', false ),
'#http://(www\.)?vimeo\.com/.*#i' => array( 'http://www.vimeo.com/api/oembed.{format}', true ),
'#http://(www\.)?flickr.com/.*' => array( 'http://www.flickr.com/services/oembed/', true ),
'#http://(www\.)?flickr.com/.*#i' => array( 'http://www.flickr.com/services/oembed/', true ),
'#http://(www\.)?hulu.com/watch/.*#i' => array( 'http://www.hulu.com/api/oembed.{format}', true ),
'#http://(www\.)?viddler.com/.*#i' => array( 'http://lab.viddler.com/services/oembed/', true ),
'http://qik.com/*' => array( 'http://qik.com/api/oembed.{format}', false ),