Changeset 13203
- Timestamp:
- 02/18/2010 10:43:52 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/class-oembed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-oembed.php
r13021 r13203 39 39 $this->providers = apply_filters( 'oembed_providers', array( 40 40 '#http://(www\.)?youtube.com/watch.*#i' => array( 'http://www.youtube.com/oembed', true ), 41 'http://youtu.be/*' => array( 'http://www.youtube.com/oembed', false ), 41 42 'http://blip.tv/file/*' => array( 'http://blip.tv/oembed/', false ), 42 43 '#http://(www\.)?vimeo\.com/.*#i' => array( 'http://www.vimeo.com/api/oembed.{format}', true ), 43 44 '#http://(www\.)?dailymotion\.com/.*#i' => array( 'http://www.dailymotion.com/api/oembed', true ), 44 45 '#http://(www\.)?flickr\.com/.*#i' => array( 'http://www.flickr.com/services/oembed/', true ), 46 '#http://(.+)?smugmug\.com/.*#i' => array( 'http://api.smugmug.com/services/oembed/', true ), 45 47 '#http://(www\.)?hulu\.com/watch/.*#i' => array( 'http://www.hulu.com/api/oembed.{format}', true ), 46 48 '#http://(www\.)?viddler\.com/.*#i' => array( 'http://lab.viddler.com/services/oembed/', true ), … … 51 53 '#http://(www\.)?scribd\.com/.*#i' => array( 'http://www.scribd.com/services/oembed', true ), 52 54 'http://wordpress.tv/*' => array( 'http://wordpress.tv/oembed/', false ), 53 '#http://(answers|surveys)\.polldaddy.com/.*#i' => array( 'http://polldaddy.com/oembed/', true ),55 '#http://(answers|surveys)\.polldaddy.com/.*#i' => array( 'http://polldaddy.com/oembed/', true ), 54 56 ) ); 55 57
Note: See TracChangeset
for help on using the changeset viewer.