Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Cannot retrieve contributors at this time
feature: File API
tags: prefixes polyfill
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
- moxie extracted from Plupload. Actively maintained as of 2013-06-03.
Press h to open a hovercard with more details.