Topic: Yet another large file discussion. Now with S3!
Howdy!
I've read most of the post here are large files upload and how flash is a no-go, but html5 and silverlight should work. I would like to throw another complication, S3.
We are sending files directly to Amazon S3. Up to about 4.2gigs, everything seems to work fine with flash. But we need to support 5gigs. So enter html5 and silverlight. Amazon needs to support COR for html5, so exit html5.
That leaves us with silverlight. Theoretically, this should work. Silverlight can support at least 20gigs.
I enabled the runtime and tried to upload a 5gig file. Its gets to about 11% in chrome, then crashes. I get about the same results in IE. And to top it off, it crashes nice and quietly, so i can't even trace what is going on.
Is this something I am doing wrong, or is the silverlight plugin not written with S3 in mind?
var uploader = new plupload.Uploader({
runtimes:'silverlight,
url: url,
browse_button: 'pickfiles',
container: 'document_singleuploader',
chunk_size : '10mb',
multipart_params : {
'document[parent_id]' : $('#document_parent_id').val(),
'document[version]' : $('#document_version').val()
},
multi_selection: false,
// Flash settings
flash_swf_url : '/javascripts/plupload/plupload.flash.swf',
// Silverlight settings
silverlight_xap_url : '/javascripts/plupload/plupload.silverlight.xap'
});-rod