When I put:
--
swfu = new SWFUpload({ upload_url : "http://www.swfupload.org/upload.php", flash_url : "http://www.swfupload.org/swfupload_f9.swf", file_size_limit : "20480" });
--
in the window.onload function or in the jquery $(document).ready(function() it does work perfectly in Firefox. But in internext explorer (6) the window.onload function is never called, and in the jquery function I get "Internet Explorer cannot open the Internet site, Operation aborted.".
In Firefox swfupload works without problems. But with internet explorer it is trash. I can not believe other people don't have problems with IE and swfupload.
The demo's do indeed work on internet exlorer 6. But I can not find out which trick is done here to get it working in IE.
It might be because IE is
It might be because IE is preventing the site from doing a cross site scripting thing. Have you tried hosting it on your own web space and connecting to it locally?
Same here, fixed it
Hi,
I had the same problem. It was caused by initializing SWFUpload before the document was completely loaded. Try doing your init within the onload, like:
window.onload = function() {
swfu = new SWFUpload({ upload_url : "http://www.swfupload.org/upload.php", flash_url : "http://www.swfupload.org/swfupload_f9.swf", file_size_limit : "20480" });
}
or by using any event handler like x ( cross-browser.com ):
xAddEventListener(window, 'load', function() {
swfu = new SWFUpload({ upload_url : "http://www.swfupload.org/upload.php", flash_url : "http://www.swfupload.org/swfupload_f9.swf", file_size_limit : "20480" });
});