Make WordPress Core

Changeset 30503


Ignore:
Timestamp:
11/21/2014 04:03:41 PM (10 years ago)
Author:
helen
Message:

oEmbed: Add support for the Vine endpoint.

props niallkennedy.
fixes #30426.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-oembed.php

    r30105 r30503  
    5252            '#https?://(www\.)?funnyordie\.com/videos/.*#i'       => array( 'http://www.funnyordie.com/oembed',                   true  ),
    5353            '#https?://(www\.)?twitter\.com/.+?/status(es)?/.*#i' => array( 'https://api.twitter.com/1/statuses/oembed.{format}', true  ),
     54            '#https?://vine.co/v/.*#i'                            => array( 'https://vine.co/oembed.{format}',                    true  ),
    5455            '#https?://(www\.)?soundcloud\.com/.*#i'              => array( 'http://soundcloud.com/oembed',                       true  ),
    5556            '#https?://(.+?\.)?slideshare\.net/.*#i'              => array( 'https://www.slideshare.net/api/oembed/2',            true  ),
     
    134135         * | YouTube      | youtube.com/playlist |  Yes  | 4.0.0     |
    135136         * | ------------ | -------------------- | ----- | --------- |
     137         * | Vine         | vine.co              |  Yes  | 4.1.0     |
     138         * | ------------ | -------------------- | ----- | --------- |
    136139         *
    137140         * No longer supported providers:
Note: See TracChangeset for help on using the changeset viewer.