Make WordPress Core


Ignore:
Timestamp:
09/08/2017 03:00:33 PM (7 years ago)
Author:
johnbillion
Message:

Embeds: Remove support for oEmbedded videos from Vine.

  • Vine effectively shut down in December 2016.
  • The oEmbed endpoint no longer works and returns a 404.
  • Developer documentation for Vine has been removed.

Fixes #41817

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-press-this.php

    r41219 r41347  
    460460     *
    461461     * Not all core oEmbed providers are supported. Supported providers include YouTube, Vimeo,
    462      * Vine, Daily Motion, SoundCloud, and Twitter.
     462     * Daily Motion, SoundCloud, and Twitter.
    463463     *
    464464     * @ignore
     
    483483            // Embedded Vimeo Flash videos
    484484            $src = 'https://vimeo.com/' . (int) $src_matches[1];
    485         } else if ( preg_match( '!//vine\.co/v/([^/]+)/embed!i', $src, $src_matches ) ) {
    486             // Embedded Vine videos
    487             $src = 'https://vine.co/v/' . $src_matches[1];
    488485        } else if ( preg_match( '!//(www\.)?dailymotion\.com/embed/video/([^/?]+)([/?].+)?!i', $src, $src_matches ) ) {
    489486            // Embedded Daily Motion videos
Note: See TracChangeset for help on using the changeset viewer.