[ https://issues.apache.org/jira/browse/CB-426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon MacDonald reassigned CB-426: ---------------------------------- Assignee: Simon MacDonald (was: Joe Bowser) > camera.getPicture ignores mediaType in 1.5 > ------------------------------------------ > > Key: CB-426 > URL: https://issues.apache.org/jira/browse/CB-426 > Project: Apache Callback > Issue Type: Bug > Components: Android > Affects Versions: 1.5.0 > Environment: Android 2.1 (Virtual), Android 3.1 (Motorolla Xoom). Built from Windows 7. > Reporter: Emiliano Angelini > Assignee: Simon MacDonald > Labels: Upload, Video, mediaType > > Hi, > I was using getPicture to upload videos, but when I upgraded to cordova-1.5.0 I noticed that the only files that I was able to select where pictures instead of videos. > The Call I was doing is this one: navigator.camera.getPicture(onVideoURISuccess, onVideoURIFail, { quality:50, mediaType: Camera.MediaType.VIDEO, destinationType: _destinationType.FILE_URI, sourceType: source}); > When I was using 1.4.1 the result was getting a list of videos from the gallery. Since I installed 1.5.0 I could only select images. > A code similar to what I was using is this one: > http://stackoverflow.com/questions/8940058/phonegap-crash-when-using-file-transfer-for-uploading-video-larger-than-15mb > > > > Video Uploader > > > > > > > > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira