Add support for oEmbeds from Speaker Deck.

Fixes #28597


git-svn-id: https://develop.svn.wordpress.org/trunk@35693 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2015-11-18 22:04:59 +00:00
parent 8c5ce610b3
commit 3636f0dc1a

View File

@ -77,6 +77,7 @@ class WP_oEmbed {
'#https?://(www\.)?reverbnation\.com/.*#i' => array( 'https://www.reverbnation.com/oembed', true ),
'#https?://videopress.com/v/.*#' => array( 'https://public-api.wordpress.com/oembed/1.0/?for=' . $host, true ),
'#https?://(www\.)?reddit\.com/r/[^/]+/comments/.*#i' => array( 'https://www.reddit.com/oembed', true ),
'#https?://(www\.)?speakerdeck\.com/.*#i' => array( 'https://speakerdeck.com/oembed.{format}', true ),
);
if ( ! empty( self::$early_providers['add'] ) ) {
@ -145,6 +146,7 @@ class WP_oEmbed {
* | ReverbNation | reverbnation.com | Yes | 4.4.0 |
* | VideoPress | videopress.com | Yes | 4.4.0 |
* | Reddit | reddit.com | Yes | 4.4.0 |
* | Speaker Deck | speakerdeck.com | Yes | 4.4.0 |
*
* No longer supported providers:
*