Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 14 lines (10 sloc) 0.837 kb

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. Supported in Chrome, Firefox, Opera. Safari is currently missing 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 6/3/13.
Something went wrong with that request. Please try again.