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

Video selection does not return a usable path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • cordova-plugin-camera
    • None
    • Nexus 6 running Android 7.0

      Platform: android 5.1.1
      Plugin: cordova-plugin-camera 2.3.1 "Camera"

    Description

      After selection of a video file, the returned path has no schema.
      Path returned in callback: "/storage/emulated/0/Pictures/Hangouts/video-20170128_195139.mp4"
      Expected path: "file:///storage/emulated/0/Pictures/Hangouts/video-20170128_195139.mp4"

      Supplied config:

              const config = {
                  correctOrientation: true,
                  sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
                  mediaType: Camera.MediaType.VIDEO,
                  destinationType: Camera.DestinationType.FILE_URI
              };
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            MrVirite Sean Duthie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: