Changeset 26978 for trunk/src/wp-includes/class-oembed.php
- Timestamp:
- 01/17/2014 07:45:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-oembed.php
r26968 r26978 28 28 function __construct() { 29 29 $providers = array( 30 '#https?://(www\.)?youtube\.com/watch.*#i' => array( 'http://www.youtube.com/oembed', true ), 31 'http://youtu.be/*' => array( 'http://www.youtube.com/oembed', false ), 30 '#http://(www\.)?youtube\.com/watch.*#i' => array( 'http://www.youtube.com/oembed', true ), 31 '#https://(www\.)?youtube\.com/watch.*#i' => array( 'http://www.youtube.com/oembed?scheme=https', true ), 32 '#http://youtu\.be/.*#i' => array( 'http://www.youtube.com/oembed', true ), 33 '#https://youtu\.be/.*#i' => array( 'http://www.youtube.com/oembed?scheme=https', true ), 32 34 'http://blip.tv/*' => array( 'http://blip.tv/oembed/', false ), 33 35 '#https?://(www\.)?vimeo\.com/.*#i' => array( 'http://vimeo.com/api/oembed.{format}', true ), … … 55 57 '#https?://(open|play)\.spotify\.com/.*#i' => array( 'https://embed.spotify.com/oembed/', true ), 56 58 ); 59 57 60 /** 58 61 * Filter the list of oEmbed providers.
Note: See TracChangeset
for help on using the changeset viewer.