Open hannojg opened 4 years ago
Similar to #1338
I think this can be achieved "quite easily":
@hannojg Sorry for asking. But I don't understand what you have pointed out. Is the feature for limiting the video duration implemented already? I can see a variable called 'durationLimit'. But have no idea whether its implemented or not. Please help.
Awesome plugin by the way. Thank you for your hard work.
Hey, where do you see this variable?
I am talking about something like this:
ImageCropPicker.openPicker({
durationLimit: LIMIT_IN_MS
})
Hi, Kindly find this in following PR
https://github.com/ivpusic/react-native-image-crop-picker/pull/1384
P.s duration limit is in seconds in this PR
see #1463
Version
Tell us which versions you are using:
Platform
Expected behaviour
For example, the react-native-image-picker library has a
durationLimit
option when opening the picker or camera. using this we can set a limit for video's duration. I would love to have such an option in this library too. Is this possible?Attachments
https://github.com/react-native-community/react-native-image-picker/blob/master/docs/Reference.md See reference