aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/video_upload/video_upload.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/types/video_upload/video_upload.module b/types/video_upload/video_upload.module
index 9ed5310..cc6443a 100644
--- a/types/video_upload/video_upload.module
+++ b/types/video_upload/video_upload.module
@@ -399,7 +399,7 @@ function _video_upload_presave(&$node) {
// TODO : add file size validation
// 'file_validate_size' => array($limits['file_size'], $limits['user_size']),
- if (count($_POST) && $file = file_save_upload($file_field , array('file_validate_extensions' => array('zip')))) { // a file has been uploaded
+ if (count($_POST) && $file = file_save_upload($file_field , array('file_validate_extensions' => array('mov flv wmv')))) { // a file has been uploaded
$node->new_video_upload_file = $file;
$node->new_video_upload_file_fid = $file->fid;
//print_r($file);