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

“ 'unimplemented'Input contained an error.” or “setDataSource failed: status = 0x80000000” or “Missing Plugin Exception” #152

Open
3154365988 opened this issue Nov 21, 2023 · 2 comments

Comments

@3154365988
Copy link

关于报错Failed to create image decoder with message 'unimplemented'Input contained an error.或者RuntimeException: setDataSource failed: status = 0x80000000或者Missing Plugin Exception

尝试一下:
Map<String, String> headers = <String, String>{};
headers["User-Agent"] =
"Mozilla/5.0 (Linux; U; Android 4.4.2; zh-CN; MW-KW-001 Build/JRO03C) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 UCBrowser/1.0.0.001 U4/0.8.0 Mobile Safari/533.1";
VideoThumbnail.thumbnailData(video: videoUrl,headers: headers);

加上headers 试试

@fisforfaheem
Copy link

───
Another exception was thrown: MissingPluginException(No implementation found for method data on channel
plugins.justsoft.xyz/video_thumbnail)
Another exception was thrown: MissingPluginException(No implementation found for method data on channel
plugins.justsoft.xyz/video_thumbnail)
I/flutter (31440): ┌──────────────────────

@Threehair
Copy link

I've been using video_thumbnail package for many months. It worked great. But recently I've been getting exactly the same errors you describe as I've migrated my app to the web. I struggled for a long time trying to debug my code... then I found this https://stackoverflow.com/a/77319039. In short, my recommendation: use get_thumbnail_video package instead. It's a fork. Just works. No problems. It seems the owner here has simply run out of time to maintain the package... Understandable. 👍

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

3 participants