ajaxuploader min js
hi i have an ajax uploader and the issue i am having is that for example i have a 50MB video
On IE that takes 16min to upload, the progress bar hits 100% and done.
Whereas on firefox the video still takes 16 min but the progress bar hits 100% at 8 minutes and then the other 8 minutes its just sitting there seemingly doing nothing and then it will finish.
This is upsetting my FF members because they think its broken.
So i found this section of code in my ajaxuploader-min.js file and i think i have the correct function here to do this.
What i would like to do is if the browser is not IE (FF AND ALL OTHERS) then i would like to slow the progress bar down by half and i think we can do that here with the math involved here but im not sure how.
so if we can adjust this to test for IE or NOT and then if it is IE run normally, IF not then increment the progress bar at half speed of the normal process, i think that plan might work.
ps.. if you need to see the whole file let me know..
here is the function..
what i am thinking is that this line here (the math)
if(-1== parseInt(a.status))throw a.info;
could be changed to
i changed the 1 to .5 // not sure if that will work syntax wise
nevermind, after testing and playing with some of the math i was able to trick it to think it was a larger file in the hope that it would not have the dead time after 100 percent but even when i extended the upload time in the progress bar by 100% more (200%) FF still does its crazy wait forever.
So i am convinced that FF is just totally screwed up when it comes to uploads.