Active
Project:
Media: Viddler
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2010 at 01:10 UTC
Updated:
30 Nov 2010 at 18:21 UTC
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
Comment #1
pelicani commentedThis 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.