You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/01/31 08:23:50 UTC

[GitHub] [cordova-plugin-camera] vanderstelTroy commented on issue #555: cordova camera plugin ios problem , how can i show videos only when camera.getPicture ?

vanderstelTroy commented on issue #555: cordova camera plugin  ios problem ,  how can i show videos only when camera.getPicture ? 
URL: https://github.com/apache/cordova-plugin-camera/issues/555#issuecomment-580634267
 
 
   const options = {
               destinationType: this.camera.DestinationType.FILE_URI,
               mediaType: MediaType.VIDEO,
               sourceType: PictureSourceType.PHOTOLIBRARY
   };
   
   this.camera.getPicture(options).then(async (videoUrl: string) => {
       // Do stuff with 'videoUrl'
   }

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org