function emvideo_ustreamlive_data in Embedded Media Field 6.3
Same name and namespace in other branches
- 6 contrib/emvideo/providers/ustreamlive.inc \emvideo_ustreamlive_data()
hook emfield_PROVIDER_data
provides an array to be serialised and made available with $item elsewhere
File
- contrib/
emvideo/ providers/ ustreamlive.inc, line 80
Code
function emvideo_ustreamlive_data($field, $item) {
$data = emvideo_ustreamlive_request($item['value']);
$data['ustreamlive_api_version'] = $data['emvideo_data_version'] = EMVIDEO_USTREAMLIVE_DATA_VERSION;
return $data;
}