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

Showing error NULL #2

Open
ankurvr opened this issue Jan 9, 2015 · 1 comment
Open

Showing error NULL #2

ankurvr opened this issue Jan 9, 2015 · 1 comment

Comments

@ankurvr
Copy link

ankurvr commented Jan 9, 2015

I am using this plugin in my App and testing in Samsung Galaxy Tab and Nexus 4. After capturing video when i am giving inputs to the plugin function it returns error as NULL.
Please help.

Thanks in Advance

@dunksmith
Copy link

Hi there,

I had something similar with the Samsung Galaxy Note 2. It turns out ThumbnailUtils.createVideoThumbnail returns null if the file path is in the form content://. Converting to a native path using window.resolveLocalFileSystemURL() doesn't work either.

So I forked and added some code based on this: http://stackoverflow.com/a/20559175/188926.

Works for me, but adds quite a lot of complexity, and not fully tested on all platforms / storage combinations.

Hope it helps.

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

2 participants