Added videos in result of getPhotos #237
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
I'm currently developing an app and I'm using your library in order to pick multiple images.
Actually, I need to pick media which can be a mix of images and videos.
So, what I did is to add video property in the GMFetchItem class.
@property (nonatomic, strong) NSString * video;
When the user selects a video within the MediaPicker, I export the video to the tmp zone with no transformation
AVAssetExportPresetPassthrough
Then in the result of the plugin, If the asset is a video, I put the path of the video file instead of the full_image.
Please do not hesitate to give me some feedback. I'll be happy to improve.
Cheers