If the viddler module is installed then the full API is available with much more info about each video than is available via 'oembed'. This is very clunky, but I'm doing something like this:

    $guid =  viddler_api_getidbyurl($item['url']);
    $details = viddler_api_getdetails($guid);
    $item['viddler_tags'] = $details['tags']['global'];
    $item['description'] = $details['description'];
    $item['viddler_thumbnail'] = $details['thumbnail_url'];
    $item['duration'] = $details['length_seconds'];

Comments

pelicani’s picture

This is an ok solution.
Install the Viddler module, both the API and the main module.
The main Viddler module lets you setup the API information.
Then, update the function emvideo_viddler_data($field, $item) with the above details.
The function is in the media_viddler > providers > viddler.inc

Perhaps both options should be available in a setting.