function oembedembedly_oembed_request_alter in oEmbed 6.0
Implement hook_oembed_request_alter().
File
- ./
oembedembedly.module, line 119 - Embed.ly support for oEmbed.module
Code
function oembedembedly_oembed_request_alter(&$attributes, &$provider, $url) {
if (strpos($provider['name'], 'oembedembedly_') === 0) {
$attributes['key'] = variable_get('oembedembedly_api_key', NULL);
}
}