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:
[email protected]


With regards,
Apache Git Services

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

Reply via email to