jj449 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-580774523
 
 
   > mediaType: MediaType.VIDEO
   
   thanks for the reply  
   but as mentioned ,  I already  set  mediaType: MediaType.VIDEO (1) 
   it still can't filter ,  pictures(photos)  appear also .  
   
   below is my  code : 
   
   
   var options =   {   quality: 50,
                           
                        destinationType: Camera.DestinationType.FILE_URI,
                           sourceType:0,      // 0:Photo Library, 1=Camera, 
2=Saved Album
                                                // allowEdit: true, //allow 
cropping
                                              targetWidth: 320, //what widht 
you want after capaturing
                                              targetHeight: 320 ,
                                              mediaType:1 //0=picture ,1=video 
, 2=Allow selection from all media types
                       };
         
         navigator.camera.getPicture(select_film_success, 
film_select_onFail,options);
   
   
   

----------------------------------------------------------------
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