function video_entity_metadata_playable_files_get in Video 7.2
1 string reference to 'video_entity_metadata_playable_files_get'
- video_metadata_field_property_callback in ./
video.field.inc - Property callback for the Entity Metadata framework.
File
- ./
video.field.inc, line 68 - Implement a video field, based on the file module's file field.
Code
function video_entity_metadata_playable_files_get($item) {
$fid_list = array();
foreach ($item['playablefiles'] as $file) {
$fid_list[] = $file->fid;
}
return $fid_list;
}