Closed (works as designed)
Project:
Video
Version:
6.x-4.1-rc6
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2010 at 23:12 UTC
Updated:
10 Sep 2011 at 03:58 UTC
I'm trying to use the Amazon S3 submodule and I'm a bit confused as to how it's supposed to be working. The documentation isn't quite sufficient to help me figure it out.
I seem to have it configured correctly, but videos are just never being transfered to the bucket. When exactly is this supposed to happen? It doesn't seem to be happening when the video is uploaded. Peeking at the code, it looked like it should be happening when cron runs, but that's not happening either.
Does it happen on transcode, maybe? Our site is completely bypassing transcoding.
Any other tips and advice to help troubleshoot S3 video uploading would be helpful.
Comments
Comment #1
hypertext200If your using latest version please disable the video_zencoder module, then upload file and run the cron.php file. When you create video filed you should not mark them as automatic conversion enabled, so you should uncheck that checkbox.
Comment #2
Garrett Albright commentedvideo_zencoder is not enabled, and the checkbox you mentioned is not checked.
Researching further, it appears that video_s3_video_insert() is not being called when a video is uploaded, but it should be, right? That appears to be what queues up the video to be uploaded when cron is run.
I'll keep experimenting.
Comment #3
Garrett Albright commentedExperimenting further…
If I hack video_module_invoke() to log what hooks are being called, I can never get it to log "insert" or "update." Only "load" and "delete." So video_s3_video_insert() is indeed never being invoked.
Can anyone else replicate? I'll keep looking into this - we really need to get this working…
Comment #4
Garrett Albright commentedFurther…
Through backtracing, I'm finding that, when uploadfield_widget_process() is called, $form_state['submitted'] is FALSE for some reason, so video_widget_process() is never called by that function. However, if I write my own simple module to check $form_state['submitted'] when a node form is submitted, it's always TRUE when it should be…
For my sanity, I'm going to give up on this for tonight.
Comment #5
hypertext200