javascript - Fineuploader never completes on IE8-9 -


i'm using fineuploader upload large video files server. works on browsers except ie8 - ie9. files start upload continue upload pretty "forever" , not complete.

it works on ie smaller files (limited max php post size). there way stop or give kind of error message ie8-9 users?

i thinking of setting max post file size huge... unsure if has performance issues server?

any appreciated. code far below:

<script src="fineuploader/jquery.fineuploader-3.7.0.js"></script> <script>     var filecount = 0;     var addedfiles = 0;     var filelimit = 1;      $(document).ready(function() {         //hide submit button until video has finished uploading         $('#submit').hide();         $('#uploadmessage').hide();         var filelimituploader = new qq.fineuploader({             element: $('#filelimit-fine-uploader')[0],             request: {                 endpoint: 'processfile/example.php'             },             retry: {                 enableauto: true             },             chunking: {                 enabled: true             },             resume: {                 enabled: true             },             validation: {                 allowedextensions: ['png','jpg','jpeg','gif','mp4','avi','mov','mpg','flv','m4v'],                 sizelimit: 199229440             },             callbacks: {                 onsubmit: function(id, filename) {                     $('#uploadmessage').show();                      filecount ++;                     if(filecount > filelimit) {                         $('#filelimit-fine-uploader .qq-upload-button').hide();                         $('#filelimit-fine-uploader .qq-upload-drop-area').hide();                         return false;                     }                 },                 oncancel: function(id, filename) {                     $('#uploadmessage').hide();                     filecount --;                     if(filecount <= filelimit) {                         $('#filelimit-fine-uploader .qq-upload-button').show();                     }                 },                 oncomplete: function(id, filename, responsejson) {                     if (responsejson.success) {                         addedfiles ++;                         if(addedfiles >= filelimit) {                             $('#filelimit-fine-uploader .qq-upload-button').hide();                             $('#filelimit-fine-uploader .qq-upload-drop-area').hide();                             //$('#filenamehere').html(responsejson.uploadname);                             $('#filen').val(responsejson.uploadname);                             $('#submit').show();                             $('#uploadmessage').hide();                         }                     }                 }             }         });     }); </script> 

set max upload size value server side large number, if concerned this. can utilize file chunking feature provided fine uploader , set chunk size specific number, say, "10000000" (10 mb). ensure requests not exceed 10 mb (plus overhead if requests multipart encoded). note chunking not possible in ie9 or older though, work in other browsers.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -