You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Kirill Anoshin (JIRA)" <ji...@apache.org> on 2015/12/10 13:10:10 UTC

[jira] [Created] (CB-10177) Camera Plugin unable to choose video from gallery

Kirill Anoshin created CB-10177:
-----------------------------------

             Summary: 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: Android
         Environment: Android 4.4, Android 6
            Reporter: Kirill Anoshin


If you try to run the following code, you will always receive empty string as a 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org