Topic: Drag And Drop Example Moxie.Filereader not working
Using the code from the drag and drop folder example if I try and use a datareader I get an error. NOT_FOUND_ERR DOMException 8. Im using these:
<script type="text/javascript" src="script/plupload.js"></script>
<script type="text/javascript" src="script/plupload.html5.js"></script>
Which come with the example, but I don't see them in the latest regular download. Any one have any ideas?
uploader.bind('FilesAdded', function(up, files) {
for (var id in files) {
var fileReader = new mOxie.FileReader();
fileReader.onload = function (e) {
alert("READ" + e.target.result.length);
}
fileReader.onerror = function (a, b) {
alert("TEST" + b);
}
fileReader.readAsDataURL(files[id]);
}
});