Open glebm opened 11 years ago
GitHub munged the result, here is the real thing:
Did you get it work @glebm ?
No, I ended up using https://github.com/moxiecode/moxie
@glebm, did you manage to get it working without plupload? The documentation claims it's possible to use moxie as an independent polyfill, but falls short on instructions. Could you give an example?
@huijar Yes, I did, although it was a bit of hassle. Basically moxie exposes identical APIs to the HTML5 ones, but in moxie namespace (e.g. new moxie.file.FileReader()
), and also provides utility classes such as moxie.file.FileInput
.
readAsBinaryString() returns this for an example jpeg file: