From 9e2519e42cc721c6e000a9fc6895e029f013fba9 Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Fri, 21 Nov 2014 16:03:41 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-oembed.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wp-includes/class-oembed.php b/src/wp-includes/class-oembed.php index 5131f89b70..c70c76da5e 100644 --- a/src/wp-includes/class-oembed.php +++ b/src/wp-includes/class-oembed.php @@ -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: *