public function video_zencoder::create_job in Video 7
Same name and namespace in other branches
- 6.5 plugins/video_zencoder/transcoders/video_zencoder.inc \video_zencoder::create_job()
- 6.4 plugins/video_zencoder/transcoders/video_zencoder.inc \video_zencoder::create_job()
Interface Implementations
Overrides transcoder_interface::create_job
See also
sites/all/modules/video/includes/transcoder_interface#create_job()
File
- modules/
video_zencoder/ transcoders/ video_zencoder.inc, line 283
Class
Code
public function create_job($video, $nid) {
return db_insert('video_zencoder')
->fields(array(
'fid' => $video['fid'],
'nid' => $nid,
'status' => VIDEO_RENDERING_PENDING,
'dimensions' => $video['dimensions'],
))
->execute();
}