justsoft / video_thumbnail

This plugin generates thumbnail from video file or URL. It returns image in memory or writes into a file. It offers rich options to control the image format, resolution and quality. Supports iOS and Android.
MIT License
185 stars 273 forks source link

MissingPluginException (MissingPluginException(No implementation found for method data on channel video_thumbnail)) #26

Closed JamesBondPc closed 4 years ago

JamesBondPc commented 4 years ago

MissingPluginException (MissingPluginException(No implementation found for method data on channel video_thumbnail))

Hyottoko commented 4 years ago

I also encountered this problem just using this plugin package

d-apps commented 4 years ago

Same here.

Method Channel can't find 'data' method inside the kotlin file. It's like it isn't registered or something.

image

justsoft commented 4 years ago

Have you granted the permission to access internet for your App?

d-apps commented 4 years ago

Have you granted the permission to access internet for your App?

Yes. Any solution? You closed the issue...

JamesBondPc commented 4 years ago

Of course it ’s open. Does it have anything to do with this?

------------------ 原始邮件 ------------------ 发件人: "D-Apps"<notifications@github.com>; 发送时间: 2020年4月24日(星期五) 上午9:56 收件人: "justsoft/video_thumbnail"<video_thumbnail@noreply.github.com>; 抄送: "James Bond"<710774798@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [justsoft/video_thumbnail] MissingPluginException (MissingPluginException(No implementation found for method data on channel video_thumbnail)) (#26)

Have you granted the permission to access internet for your App?

Yes. Any solution? You closed the issue...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

justsoft commented 4 years ago

@d-apps Because it is something related with your environment or your App, nothing needs to be changed on the plugin side. Please play with the example comes with this plugin. @JamesBondPc @d-apps Try with a brand new project or start from the example comes with this plugin. Also make sure the video is playable on your devices.

sgehrman commented 4 years ago

same issue. I figured out the problem.

I have a file named 151238.3gp

The mime type comes back as 'video', but it crashes video_thumbnail.

I found another file on my phone. It was an mp4, the phone could not play it and my desktop could no play it. I assume it corrupted? Strange.

Wrapping it in a try/catch keeps it from crashing.