-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[Image_Picker] Fix example #1876
[Image_Picker] Fix example #1876
Conversation
cyanglaz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Playing video seems failing on iOS with this patch. Could be a bug in the plugin itself too.
|
|
||
| void _onVideoControllerUpdate() { | ||
| setState(() {}); | ||
| // setState(() {}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nits: if not necessary anymore, we can just remove the code instead of commenting out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
I don't have access to an iPhone, but I did test in the simulator. I was not able to see the video, but I could listen to it. |
|
It seems like the video is still not playing on iOS with this patch. I am adding this PR to backlog. Maybe you can create an issue and refer this PR to it. And we will prioritize the PR based on the thumb-ups of the issue? |
|
Actually I have found the issue. The video player dependency wasn't updated in the example app. I updated it in the same PR and going to merge it. |
…yBR/plugins into plugin/image_picker_fix_example
|
@cyanglaz It looks like there is some issue with cirrus. Could you help me with that? |
|
@cyanglaz it is green. |
Description
This PR updates the image picker plugin dependency for video_player and updates the video player logic to make it work (the current implementation fails to show the video).
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?