Sean Duthie created CB-12419:
--------------------------------

             Summary: Video
                 Key: CB-12419
                 URL: https://issues.apache.org/jira/browse/CB-12419
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Camera
         Environment: Nexus 6 running Android 7.0

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

            Reporter: Sean Duthie


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:
{code}
        const config = {
            correctOrientation: true,
            sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
            mediaType: Camera.MediaType.VIDEO,
            destinationType: Camera.DestinationType.FILE_URI
        };
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to