Videos Captured from camera not added to picker results.
aleedy opened this issue · comments
While trying to use the recently added video option I discovered that videos captured from the video camera are not added to the gallery properly.
This is easily reproducible in the demo app by enabling the .setShowVideo()
and taking a video with the camera. If you tap the button to open the picker again, the video isn't there.
After some experimenting, I found that it is being added with the incorrect mime type and thus an image is added. I added a second button to the demo app so I could launch the picker as video or image to find this.
I have a possible fix which switches the mime type of the media scanner depending on MediaType. Please have a look at this pull request #94