Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: Error calling method on NPObject. #19

Open
particle6 opened this issue Oct 10, 2012 · 6 comments
Open

Uncaught Error: Error calling method on NPObject. #19

particle6 opened this issue Oct 10, 2012 · 6 comments

Comments

@particle6
Copy link

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!!

@dwick
Copy link

dwick commented Oct 10, 2012

I too am having this issue. Any help would be appreciated.

@jinlin
Copy link

jinlin commented Oct 19, 2012

same here..

@AVapps
Copy link
Owner

AVapps commented Oct 24, 2012

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!

@jinlin
Copy link

jinlin commented Nov 6, 2012

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...

@conradthegray
Copy link

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?

@AVapps
Copy link
Owner

AVapps commented Feb 22, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants