function oembedcore_default_oembedcore_provider in oEmbed 6.0
Implementation of hook_default_oembedcore_provider().
File
- ./
oembedcore.module, line 71 - Core functionality for oEmbed
Code
function oembedcore_default_oembedcore_provider() {
$providers = array();
$provider = new stdClass();
$provider->disabled = TRUE;
/* Edit this to true to make a default provider disabled initially */
$provider->name = 'viddler';
$provider->title = 'Viddler';
$provider->endpoint = 'http://lab.viddler.com/services/oembed/';
$provider->scheme = 'http://*.viddler.com/*';
$providers['viddler'] = $provider;
$provider = new stdClass();
$provider->disabled = TRUE;
/* Edit this to true to make a default provider disabled initially */
$provider->name = 'flickr';
$provider->title = 'Flickr';
$provider->endpoint = 'http://www.flickr.com/services/oembed/';
$provider->scheme = 'http://*.flickr.com/*
http://flickr.com/*';
$providers['flickr'] = $provider;
$provider = new stdClass();
$provider->disabled = TRUE;
/* Edit this to true to make a default provider disabled initially */
$provider->name = 'qik';
$provider->title = 'Qik';
$provider->endpoint = 'http://qik.com/api/oembed.json';
$provider->scheme = 'http://qik.com/video/*
http://qik.com/*';
$providers['qik'] = $provider;
$provider = new stdClass();
$provider->disabled = TRUE;
/* Edit this to true to make a default provider disabled initially */
$provider->name = 'revision3';
$provider->title = 'Revision3';
$provider->endpoint = 'http://revision3.com/api/oembed/';
$provider->scheme = 'http://*.revision3.com/*';
$providers['revision3'] = $provider;
$provider = new stdClass();
$provider->disabled = TRUE;
/* Edit this to true to make a default provider disabled initially */
$provider->name = 'vimeo';
$provider->title = 'Vimeo';
$provider->endpoint = 'http://www.vimeo.com/api/oembed.json';
$provider->scheme = 'http://www.vimeo.com/groups/*/videos/*
http://www.vimeo.com/*
http://vimeo.com/groups/*/videos/*
http://vimeo.com/*';
$providers['vimeo'] = $provider;
$provider = new stdClass();
$provider->disabled = TRUE;
/* Edit this to true to make a default provider disabled initially */
$provider->name = 'youtube';
$provider->title = 'YouTube';
$provider->endpoint = 'http://www.youtube.com/oembed';
$provider->scheme = 'http://*.youtube.com/watch*';
$providers['youtube'] = $provider;
return $providers;
}