Adding Large Videos
How to add very large videos to a Plone site using uwosh.flash and a FSS(Flash Streaming Server).
With uwosh.flash, videos should normally upload without trouble; however, we restrict the size of the video to just 100MB. If there are exceptions where a client needs a larger video on the site, for now it is advised to upload the file to the FSS in a sub-directory that corresponds to the site name and then manually set the settings on the plone site. Here is an example:
- upload the video to the FSS in a directory that fits the current structure. For instance, if the site name is "uwosh," upload to a directory "/flash/adobe/fms/applications/vod/media/uwosh"
- On the site, create a Multimedia object stub to put the FSS settings into
- fire up a client in debug mode
./bin/client3 debug - Issue a sequence similar to this
import transaction from AccessControl.SecurityManagement import newSecurityManager user = app.acl_users.getUser('myusername') newSecurityManager(None, user.__of__(app.acl_users)) obj = app.restrictedTraverse('/path/to/site/and/path/to/multimedia') obj.streaming_url = 'uwosh/name-of-video.flv' obj.original_content_type = 'video/x-flv' transaction.commit() app._p_jar.sync() # this maybe isn't necessary
That should be it. The video should now be streamable :)
Kim's note: the above did not work for me. See the related item below for a workaround that did.











