function _video_render_load_job in Video 6.3
Same name and namespace in other branches
- 5 plugins/video_ffmpeg_helper/video_render.php \_video_render_load_job()
- 6 plugins/video_ffmpeg_helper/video_render.php \_video_render_load_job()
- 6.2 plugins/video_ffmpeg_helper/video_render.php \_video_render_load_job()
Load a job
1 call to _video_render_load_job()
- video_render_main in ./
video_scheduler.php - Video Rendering Process
File
- ./
video_scheduler.php, line 207 - Implement video rendering scheduling. If you are not using sites/default/settings.php as your settings file, add an optional parameter for the drupal site url: "php video_scheduler.php http://example.com/" or "php video_scheduler.php…
Code
function _video_render_load_job($fid) {
// watchdog('video_render', 'Loading contents for file id %fid', array('%fid' => $fid));
$result = db_query('SELECT f.filepath, f.filesize, f.filename, f.filemime, f.filesize, f.status, f.uid
FROM {video_rendering} vr INNER JOIN {files} f
ON vr.fid = f.fid WHERE vr.fid = f.fid AND f.status = %d AND f.fid = %d', FILE_STATUS_PERMANENT, $fid);
return db_fetch_object($result);
}