Closed yoonjiyong closed 3 years ago
This is a known issue.
I have used the image_picker
plugin in the example app of this package, it already has an issue open related to this: https://github.com/flutter/flutter/issues/24954
iOS does compression of some kind before letting you modify the selected video by default.
I have updated the example app using file_picker
package (instead of image_picker
), which allows skipping the iOS video compression screen.
Check out the version 0.3.5
: #81
you rock 🤟
okay Im trying my best to explain this.
i used to use this trimmer package very well but in iOS some weird situation happens
I click gallery button
choose video from gallery
Here comes weird screen I never make this one [ IOS ] - I don't know where it comes from
[ ANDROID ] - I expect this and made this screen
if I choose select button it compresses
after compressing is done, my phone lost connection
I have no idea what do i have to do.
here's my code
DIALOG `final picker = ImagePicker();
PickedFile file = await picker.getVideo( source: ImageSource.gallery, );
if (file != null) { await _trimmer.loadVideo(videoFile: File(file.path)); Navigator.of(context).push(MaterialPageRoute(builder: (context) { return TrimVideoScreen(trimmer: _trimmer); })); }`
Flutter doctor ` [✓] Flutter (Channel stable, 1.22.4, on macOS 11.0.1 20B50 darwin-x64, locale ko-KR)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2) [✓] Xcode - develop for iOS and macOS (Xcode 12.2) [!] Android Studio (version 4.1) ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. [✓] Connected device (2 available)
don't know why Flutter , dart plugin warning , cuz it installed well `