Open tdk2nyt opened 8 years ago
Are you attempting a cross domain upload?
I tried cross domain upload, this error disappeared, but the operation failed with line 1293: the msgLoaded is false, I guess it's because of the file size is too large(20M). I tested the following 4 sizes in IE8: 300K, 12M, 18M, 25M, the first twos succeeded, the others failed, could you give any advice to support large file upload with this pluggin? Thanks!
My code like the following:
test.html:
<--div xxx> <--div class="row" style="padding-top:10px;"> // code from index.html in example <--/div> <--/div>
test.js:
var pageUrl = "test.html";
var updatePage = function(res) { var btn = document.getElementById('uploadBtn'), progressBar = document.getElementById('progressBar'), progressOuter = document.getElementById('progressOuter'), msgBox = document.getElementById('msgBox');
var uploader = new ss.SimpleUpload({ // code from index.html in example }); };
Ajax({ ... url:pageUrl, complete: updatePage});
chose file in page, I got
Commencing upload using iframe access is denied
I googled this error, and tried to modify iframe.src to change document.domain, I didn't succeed unfortunately. Is there any other workaround? Thanks!