CORS file upload for angularjs with IE8 support -
i seeking easy , light weight way upload small file rest api using cors. using following plugin: angular-file-upload
the problem uses swf fallback deprecated browsers, don't support formdata object(such ie 8 , ie 9).
i have opened issue on github on matter, no luck far.
which means cannot upload file using cors on browsers, cannot allow (many users still use ie).
angular-file-upload has solution old broswers(such ie8,9),
just put code before "angular-file-upload-shim.js"
<script> //optional need loaded before angular-file-upload-shim(.min).js fileapi = { jspath: '/js/fileapi.min.js/folder/', staticpath: '/flash/fileapi.flash.swf/folder/' } </script>
you can visit this page on github more detail.
Comments
Post a Comment