Ticket #20102: vimeo-oembed-https.2.diff
File vimeo-oembed-https.2.diff, 1.1 KB (added by , 12 years ago) |
---|
-
wp-includes/class-oembed.php
33 33 '#http://(www\.)?youtube.com/watch.*#i' => array( 'http://www.youtube.com/oembed', true ), 34 34 'http://youtu.be/*' => array( 'http://www.youtube.com/oembed', false ), 35 35 'http://blip.tv/*' => array( 'http://blip.tv/oembed/', false ), 36 '#http ://(www\.)?vimeo\.com/.*#i'=> array( 'http://vimeo.com/api/oembed.{format}', true ),36 '#https?://(www\.)?vimeo\.com/.*#i' => array( 'http://vimeo.com/api/oembed.{format}', true ), 37 37 '#http://(www\.)?dailymotion\.com/.*#i' => array( 'http://www.dailymotion.com/services/oembed', true ), 38 38 '#http://(www\.)?flickr\.com/.*#i' => array( 'http://www.flickr.com/services/oembed/', true ), 39 39 '#http://(.+\.)?smugmug\.com/.*#i' => array( 'http://api.smugmug.com/services/oembed/', true ),