function emvideo_ustream_request in Embedded Media Field 6.3
Same name and namespace in other branches
- 6 contrib/emvideo/providers/ustream.inc \emvideo_ustream_request()
this is a wrapper for emvideo_request_xml that includes ustream's api key
1 call to emvideo_ustream_request()
- emvideo_ustream_data in contrib/
emvideo/ providers/ ustream.inc - hook emfield_PROVIDER_data
File
- contrib/
emvideo/ providers/ ustream.inc, line 61
Code
function emvideo_ustream_request($code = '', $cached = TRUE) {
$key = trim(variable_get('emvideo_ustream_api_key', ''));
$url = "http://api.ustream.tv/php/video/{$code}/getInfo?key={$key}";
return module_invoke('emfield', 'request_xml', 'ustream', $url, array(), $cached, FALSE, $code, TRUE);
}