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

can we share video ? #4

Closed
ggsonic opened this issue Mar 22, 2019 · 6 comments
Closed

can we share video ? #4

ggsonic opened this issue Mar 22, 2019 · 6 comments

Comments

@ggsonic
Copy link

ggsonic commented Mar 22, 2019

using image_picker,we can pickVideo from photo gallery, how can we share the mp4 video file from the photo gallery?

@zhouteng0217
Copy link
Owner

you can share video with "file" parameter.

File f = await ImagePicker.pickVideo(source: ImageSource.gallery);
ShareExtend.share(f.path, "file");

@ggsonic
Copy link
Author

ggsonic commented Mar 25, 2019

it didn't work properly, the mp4 video file finally not successfully shared. tested on my RedMi and Sony Xperia android phones

@zhouteng0217
Copy link
Owner

zhouteng0217 commented Mar 25, 2019

it didn't work properly, the mp4 video file finally not successfully shared. tested on my RedMi and Sony Xperia android phones

Did you pick the mp4 video file from other apps like Root Explorer? There is some bugs when picking file from Root Explorer to share, but worked well from file manager.

image

@ggsonic
Copy link
Author

ggsonic commented Mar 25, 2019

I record video using my camera,then picked it from photo gallery, then I Share it to WeChat, everything seems fine,but the video file was not really shared.you can see the error msg below. WeChat complained "This video is no longer available"

111

@zhouteng0217
Copy link
Owner

@ggsonic , I found that problem and later will publish a new version to fix it.

@zhouteng0217
Copy link
Owner

This issue has been fixed on the version 1.0.5, please check it. Thanks for the issue report!

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