Selecting video by Camera plugin in Windows 10 is impossible


#1

Hi

I’m using camera plugin with this options:

let cameraOptions = {
      sourceType: this.camera.PictureSourceType.PHOTOLIBRARY,
      destinationType: this.camera.DestinationType.FILE_URI,
      quality: 100,
      targetWidth: 1000,
      targetHeight: 1000,
      encodingType: this.camera.EncodingType.JPEG,
      correctOrientation: true,
      mediaType: this.camera.MediaType.ALLMEDIA
    };
this.camera.getPicture(cameraOptions)...

In Android and IOS there is no problem. In Windows 10, picking a video doesn’t happen- niether “onFulfilled” nor “onRejected” condition is activated.
I’ve tried to replace sourceType: this.camera.PictureSourceType.SAVEDPHOTOALBUM as I see in the release notes that it can solve Windows 8.1 issues, but nothing happens here.

Does anybody have any idea?

Thanks!


#2

Just need to omit targetWidth and targetHeight to make it happen.