I'm using ImagePicker to upload videos either from gallery or via capturing them from camera.
Problem is that I don't want the video to exceed 1 minute duration, when in gallery picking mode, I check the duration of selected video and show a message if video is longer than 1 minute.
How can I do something like retrica, open camera but with limit on video duration ?