oEmbed: Add support for the Vine endpoint.
props niallkennedy. fixes #30426. git-svn-id: https://develop.svn.wordpress.org/trunk@30503 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1c3fb4f442
commit
9e2519e42c
|
@ -51,6 +51,7 @@ class WP_oEmbed {
|
|||
'#https?://poll\.fm/.*#i' => array( 'https://polldaddy.com/oembed/', true ),
|
||||
'#https?://(www\.)?funnyordie\.com/videos/.*#i' => array( 'http://www.funnyordie.com/oembed', true ),
|
||||
'#https?://(www\.)?twitter\.com/.+?/status(es)?/.*#i' => array( 'https://api.twitter.com/1/statuses/oembed.{format}', true ),
|
||||
'#https?://vine.co/v/.*#i' => array( 'https://vine.co/oembed.{format}', true ),
|
||||
'#https?://(www\.)?soundcloud\.com/.*#i' => array( 'http://soundcloud.com/oembed', true ),
|
||||
'#https?://(.+?\.)?slideshare\.net/.*#i' => array( 'https://www.slideshare.net/api/oembed/2', true ),
|
||||
'#http://instagr(\.am|am\.com)/p/.*#i' => array( 'http://api.instagram.com/oembed', true ),
|
||||
|
@ -133,6 +134,8 @@ class WP_oEmbed {
|
|||
* | TED | ted.com | Yes | 4.0.0 |
|
||||
* | YouTube | youtube.com/playlist | Yes | 4.0.0 |
|
||||
* | ------------ | -------------------- | ----- | --------- |
|
||||
* | Vine | vine.co | Yes | 4.1.0 |
|
||||
* | ------------ | -------------------- | ----- | --------- |
|
||||
*
|
||||
* No longer supported providers:
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue