aboutsummaryrefslogtreecommitdiff
path: root/plugins/video_upload
diff options
context:
space:
mode:
authorFabio Varesano <fax8@13637.no-reply.drupal.org>2007-01-11 07:43:59 +0000
committerFabio Varesano <fax8@13637.no-reply.drupal.org>2007-01-11 07:43:59 +0000
commit18fbdce5034299832762b72e4653bf6028e8252d (patch)
tree0b90a46b465c8a08f995da02f14d77214672a604 /plugins/video_upload
parentd2c9046205bd5c9a61ffe1792470defbfa0250ce (diff)
downloadvideo-18fbdce5034299832762b72e4653bf6028e8252d.tar.gz
video-18fbdce5034299832762b72e4653bf6028e8252d.tar.bz2
Added *draft* and *incomplete* support for video conversion throught the video_render.php script
Added functions for video_render.php to video_ffmpeg_helper.module Fixed bug #108445 reported by incom (http://drupal.org/user/64246) Call to undefined function: module_exist() in /home/..../modules/video/views_video.inc on line 69
Diffstat (limited to 'plugins/video_upload')
-rw-r--r--plugins/video_upload/video_upload.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/video_upload/video_upload.module b/plugins/video_upload/video_upload.module
index c11cd1e..f22327b 100644
--- a/plugins/video_upload/video_upload.module
+++ b/plugins/video_upload/video_upload.module
@@ -233,6 +233,7 @@ function _video_upload_store(&$node) {
$file->fid = db_next_id('{files}_fid');
db_query("INSERT INTO {files} (fid, nid, filename, filepath, filemime, filesize) VALUES (%d, %d, '%s', '%s', '%s', %d)", $file->fid, $node->nid, $file->filename, $file->filepath, $file->filemime, $file->filesize);
db_query("INSERT INTO {file_revisions} (fid, vid, list, description) VALUES (%d, %d, %d, '%s')", $file->fid, $node->vid, $file->list, $file->description);
+ $_SESSION['video_upload_file_stored'] = $file;
unset($_SESSION['video_upload_file']);
}
else {