Add oEmbed support for Kickstarter.

See #29126.


git-svn-id: https://develop.svn.wordpress.org/trunk@31671 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-03-07 22:10:42 +00:00
parent 5bb3e71cc0
commit f4dc74745c
1 changed files with 4 additions and 0 deletions

View File

@ -68,6 +68,8 @@ class WP_oEmbed {
'#https?://(www\.|embed\.)?ted\.com/talks/.*#i' => array( 'http://www.ted.com/talks/oembed.{format}', true ),
'#https?://(www\.)?(animoto|video214)\.com/play/.*#i' => array( 'http://animoto.com/oembeds/create', true ),
'#https?://(.+)\.tumblr\.com/post/.*#i' => array( 'https://www.tumblr.com/oembed/1.0', true ),
'#https?://(www\.)?kickstarter\.com/projects/.*#i' => array( 'https://www.kickstarter.com/services/oembed', true ),
'#https?://kck\.st/.*#i' => array( 'https://www.kickstarter.com/services/oembed', true ),
);
if ( ! empty( self::$early_providers['add'] ) ) {
@ -140,6 +142,8 @@ class WP_oEmbed {
* | Vine | vine.co | Yes | 4.1.0 |
* | ------------ | -------------------- | ----- | --------- |
* | Tumblr | tumblr.com | Yes | 4.2.0 |
* | Kickstarter | kickstarter.com | Yes | 4.2.0 |
* | Kickstarter | kck.st | Yes | 4.2.0 |
* | ------------ | -------------------- | ----- | --------- |
*
* No longer supported providers: