Testing Flashvideo and S3 support on am intranet
alexkb - June 10, 2009 - 09:16
| Project: | FlashVideo |
| Version: | 6.x-1.5-rc2 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi there,
I just wanted to check if using flashvideo and the S3 features would be possible on a server that was part of an intranet. The server hosting the site still has access to the internet, as well as the visitors to the site, but the server itself would be hosted internally and would not be accessible from the internet. The only reason I could think this might be a problem, is if S3 needs to communicate back to site to say when the files have finished being uploaded or something?
Thanks!
- Alex

#1
The reason it wasn't showing up due to a number of reasons:
- didn't have the '[video]' tag in the body
- the "Convert videos immediately" flag wasn't set (normally you'd have to wait for cron to convert/upload things)
- my version of ffmpeg wasn't setup to support mp3. So for testing at least, I just removed the "-aencode mp3" from the ffmpeg Command setting.
The videos play fine (as they just default back to the video on the server), but they aren't uploading to S3. The message I'm getting when I submit the video is:
* Failed to place file on S3 server:
array (
'int' => 505,
)
* Failed to place file on S3 server:
array (
'int' => 505,
)
* FlashVideo successfully created: test_0_9.jpg
* FlashVideo successfully created: test_0_9.flv
* Video test3 has been created.
Could this have something to do with the intranet side of things? I haven't tested the site on a live host yet, so I guess thats the next step to confirm if this is really the cause of the problem.
#2
An update to this, the problem seemed to be due to the filename of the video having spaces in it. Simply removing the spaces, and re-uploading seemed to work.
I can now see the video in the bucket, but Drupal is not using the s3 URL to display the video yet. Is there another setting somewhere I'm missing.. time to dive into the code.
#3
Please re-test this issue with the latest dev version. Significant changes were made to the Amazon plugin by Travis recently.
Also, I highly recommend using the "Transliteration" module to remove spaces and the like from the names of uploaded files.
#4
No response after 1 month. Closing issue.