FileReader
FileReader copied to clipboard
Uncaught Error: Error calling method on NPObject.
Erroring on line 208: FileAPIProxy.swfObject.read(file.input, file.name, 'readAsDataURL');
I know hardly anything about flash, so it may just be something i'm over looking.
--Please help!!
I too am having this issue. Any help would be appreciated.
same here..
Please try with the latest commit (not the minified one as it is not yet updated) and tell me if you still have this issue!
I have tried with the latest commit . but the error is still there. ["FileReader read...", null, "3.jpg", "readAsDataURL"]...It seems like file.input is null which call npObject...
To methods readAsBinaryString
, readAsText
, readAsDataURL
and readAsArrayBuffer
is passed File object. Here's how that object looks like https://developer.mozilla.org/en-US/docs/DOM/File. There's no property called input
and none of browsers I tested doesn't add this property.
Could you @Jahdrien just tell me what exactly I should have in file.input
?
file.input is the file input id. It's a custom property from this polyfill used to track which file input the file belongs to.