Changeset 41347
- Timestamp:
- 09/08/2017 03:00:33 PM (7 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-press-this.php
r41219 r41347 460 460 * 461 461 * 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. 463 463 * 464 464 * @ignore … … 483 483 // Embedded Vimeo Flash videos 484 484 $src = 'https://vimeo.com/' . (int) $src_matches[1]; 485 } else if ( preg_match( '!//vine\.co/v/([^/]+)/embed!i', $src, $src_matches ) ) {486 // Embedded Vine videos487 $src = 'https://vine.co/v/' . $src_matches[1];488 485 } else if ( preg_match( '!//(www\.)?dailymotion\.com/embed/video/([^/?]+)([/?].+)?!i', $src, $src_matches ) ) { 489 486 // Embedded Daily Motion videos -
trunk/src/wp-includes/class-oembed.php
r41345 r41347 75 75 '#https?://(www\.)?twitter\.com/\w{1,15}/timelines/.*#i' => array( 'https://publish.twitter.com/oembed', true ), 76 76 '#https?://(www\.)?twitter\.com/i/moments/.*#i' => array( 'https://publish.twitter.com/oembed', true ), 77 '#https?://vine\.co/v/.*#i' => array( 'https://vine.co/oembed.{format}', true ),78 77 '#https?://(www\.)?soundcloud\.com/.*#i' => array( 'https://soundcloud.com/oembed', true ), 79 78 '#https?://(.+?\.)?slideshare\.net/.*#i' => array( 'https://www.slideshare.net/api/oembed/2', true ), … … 164 163 * | TED | ted.com | Yes | 4.0.0 | 165 164 * | YouTube | youtube.com/playlist | Yes | 4.0.0 | 166 * | Vine | vine.co | Yes | 4.1.0 |167 165 * | Tumblr | tumblr.com | Yes | 4.2.0 | 168 166 * | Kickstarter | kickstarter.com | Yes | 4.2.0 | … … 191 189 * | Rdio | rdio.com | Yes | 3.6.0 | 4.4.1 | 192 190 * | Rdio | rd.io | Yes | 3.6.0 | 4.4.1 | 191 * | Vine | vine.co | Yes | 4.1.0 | 4.9.0 | 193 192 * 194 193 * @see wp_oembed_add_provider()
Note: See TracChangeset
for help on using the changeset viewer.