[ 
https://issues.apache.org/jira/browse/CB-10177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15091122#comment-15091122
 ] 

Tanase Butcaru edited comment on CB-10177 at 1/10/16 5:40 PM:
--------------------------------------------------------------

I can confirm this issue.
In your demo code the MediaType should be 'VIDEO', not picture, but still, this 
issue is real :)

----
Regarding VIDEO from camera plugin, if the sourceType is 'CAMERA' and mediaType 
is 'VIDEO', why can't we just record video, but instead we can only take a 
picture?


was (Author: tanasebutcaru):
I can confirm this issue.

> Camera Plugin unable to choose video from gallery
> -------------------------------------------------
>
>                 Key: CB-10177
>                 URL: https://issues.apache.org/jira/browse/CB-10177
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>         Environment: Android 4.4, Android 6,  cordova-android 5.0.0, 
> cordova-plugin-camera 2.0.0
>            Reporter: Kirill Anoshin
>              Labels: Android, triaged, wfc
>
> If you try to run the following code, you will receive empty string as the 
> path:
> {code}
> navigator.camera.getPicture(function(path) {
>     ...
> }, onError, {
>     quality: 75,
>     destinationType: Camera.DestinationType.FILE_URI,
>     sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
>     encodingType: Camera.EncodingType.JPEG,
>     popoverOptions: new CameraPopoverOptions(position.left, position.top),
>     mediaType: Camera.MediaType.PICTURE
> });
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to