Thank you for the module.
I have faced an issue with Instagram - it returns null when trying to get the information about the item with the specified "maxheight" parameter. It is explicitly described on http://instagram.com/developer/embedding/
So it should be fixed. In the meantime I have just used a hook to modify the request parameters:
/**
* Implements hook_media_oembed_request_alter().
*/
function MYMODULE_media_oembed_request_alter(&$parameters, &$provider, $url) {
if ($provider['name'] == 'default:instagram') {
// Instagram doesn't allow to send the maxheight parameter. See http://instagram.com/developer/embedding/
unset($parameters['maxheight']);
}
}
Thanks
AndyB
Comments
Comment #1
devin carlson commentedThanks for the suggestion!
Committed to Media: oEmbed 7.x-2.x