Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10177

Camera Plugin unable to choose video from gallery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • cordova-plugin-camera
    • Android 4.4, Android 6, cordova-android 5.0.0, cordova-plugin-camera 2.0.0

    Description

      If you try to run the following code, you will receive empty string as the path:

      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
      });
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            kanoshin Kirill Anoshin
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: