jQuery 像uploadify这样的出色上传器,但具有“无闪存”后备功能
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4960718/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Great uploader like uploadify but with a "no-flash" fallback
提问by cambraca
Is there a great uploader script that uses jQuery, like uploadify, but with a fallback option for when flash is not available?
是否有使用 jQuery 的出色上传器脚本,例如uploadify,但在 Flash 不可用时具有后备选项?
I tried FancyUpload, which has this and uses an invisible IFRAME to do its stuff. The problem is, it's built on top of Mootools (conflicts everywhere because I can't change my whole codebase to use jQuery instead of $ if I use jQuery.noConflict(), and I really don't think it's a good idea to mix js libraries like that).
我尝试了FancyUpload,它有这个并使用一个不可见的 IFRAME 来做它的东西。问题是,它是建立在 Mootools 之上的(到处都是冲突,因为如果我使用 jQuery.noConflict(),我无法将整个代码库更改为使用 jQuery 而不是 $,而且我真的不认为混合使用是个好主意js 库之类的)。
回答by digitarald
http://www.plupload.com/falls back from HTML5 to Flash, Gears, Silverlight and iFrame. It's developed for TinyMCE, so it's extensively tested and actively developed. One downside could be the size, but simply include it only on the sites that need to upload files and reduce size but excluding Gear or Silverlight support.
http://www.plupload.com/从 HTML5 退回到 Flash、Gears、Silverlight 和 iFrame。它是为 TinyMCE 开发的,因此经过了广泛的测试和积极的开发。一个缺点可能是大小,但只需将其包含在需要上传文件和减小大小但不包括 Gear 或 Silverlight 支持的站点上。
I am the author of FancyUpload, so believe me when I approve another uploader ;)
我是 FancyUpload 的作者,所以当我批准另一个上传者时请相信我;)
回答by mVChr
Sebastian Tschan just released a great plugin called jQuery File Upload that will likely suit your needs.
Sebastian Tschan 刚刚发布了一个名为 jQuery File Upload 的优秀插件,它可能会满足您的需求。
Demo: http://aquantum-demo.appspot.com/file-upload
演示:http: //aquantum-demo.appspot.com/file-upload