aboutsummaryrefslogtreecommitdiff
path: root/plugins/video_upload
diff options
context:
space:
mode:
authorFabio Varesano <fax8@13637.no-reply.drupal.org>2007-01-04 17:55:21 +0000
committerFabio Varesano <fax8@13637.no-reply.drupal.org>2007-01-04 17:55:21 +0000
commitb5d49f9ee872d3f4563ad97beea974b877009f37 (patch)
treeb64c876973b8724f7f5ff8c53855d99fa8a9f0ad /plugins/video_upload
parentb564d110649598f747a517289af368611f3ad762 (diff)
downloadvideo-b5d49f9ee872d3f4563ad97beea974b877009f37.tar.gz
video-b5d49f9ee872d3f4563ad97beea974b877009f37.tar.bz2
Added video_ffmpeg_helper plugin to add some apis for ffmpeg.
Changed video_image to use video_ffmpeg_helper.
Diffstat (limited to 'plugins/video_upload')
-rw-r--r--plugins/video_upload/video_upload.module7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/video_upload/video_upload.module b/plugins/video_upload/video_upload.module
index c39182c..c11cd1e 100644
--- a/plugins/video_upload/video_upload.module
+++ b/plugins/video_upload/video_upload.module
@@ -60,7 +60,7 @@ function video_upload_settings_form() {
'#default_value' => variable_get('video_upload_override_vidfile', false),
);
- return $form;
+ return system_settings_form($form);
}
@@ -102,7 +102,12 @@ function video_upload_nodeapi(&$node, $op, $teaser) {
break;
case 'insert':
+ _video_upload_store($node);
+ break;
case 'update':
+ // is there a better way ???
+ $node->video_upload_file = _video_upload_load($node);
+ _video_upload_delete($node);
_video_upload_store($node);
break;