I don't think this is an issue specific to the module but more to plupload. Using 1.4.3.2, with the default runtime order of html5,flash,html4, Safari uploads hang for larger files. By larger, I mean anything over about 1mb in size. Small files upload file.
Not sure what exactly the deal is, but here's how I worked around it. In plupload.js, I did this -
$.browser.safari = ( $.browser.safari && /chrome/.test(navigator.userAgent.toLowerCase()) ) ? false : true;
if ($.browser.safari) {
var defaultruntimes = 'flash,html5,html4';
}
else {
var defaultruntimes = 'html5,flash,html4';
}
... and then changed the runtime and chunk size:
runtimes : defaultruntimes,
chunk_size : '200kb',
In this case, it now defaults to the flash uploader just for Safari, and the smaller chunk size updates the progress in the UI more frequently so the user isn't left wondering if it's uploading or not. This also still uses the HTML5 uploader for Chrome, which in my case is working fine.
Hopefully this will help someone else work around the issue. I really think it's a plupload upstream HTML5 bug somewhere and I'm not terribly interested in troubleshooting it.
Comments
Comment #1
tylerz commentedIt hangs for me even for batch uploads of small files. It sometimes works, but lately it never seems to get much past the first file, if that.
Anybody have an idea why?
Same deal, updated Safari, OSX Snow Leopard 10.6.8.
Comment #2
slashrsm commentedI'm not a mac user, so I unfortunately cannot test this. Have you tried to upgrade plupload library or to report this in their issue queue?
Comment #3
muri commentedI have tried with file sizes more than 4MB with safari on my mac OSX 10.8.2 and it's all worked fine. Also I changed the runtime order to flash and it uploaded a bit slow but again fine.
Comment #4
muri commentedComment #5
slashrsm commented