feature: File API status: use tags: prefixes polyfill kind: api polyfillurls: FileReader, moxie
Using the File API added to the DOM in HTML5, it's now possible for web content to ask the user to select local files.
FileReader pairs very well with Drag n Drop to allow for drag 'n drop file uploads, and if neither of those features are present, the fallback of providing an <input type=file>
is rather easy.
Fully supported in Chrome, Firefox, Opera, Safari 6, and IE 10. Partially supported in Safari 5.1 (lacks FileReader support).
- FileReader provides useful fallback, based on Flash, jQuery, and jQuery UI. Doesn't support
readAsBinaryFile()
. - moxie extracted from Plupload. Actively maintained as of 2013-06-03.