Hello,
I am trying to implement the "upload videos" from gallery functionality but it is not working as expected.
Titanium.Media.openPhotoGallery({ success : function(event) { if (event.mediaType == Titanium.Media.MEDIA_TYPE_VIDEO) { Ti.API.info(event.media); } else{ alert("Please select video file"); } }, cancel : function(e) { alert(e); }, error : function(err) { Ti.API.error(err); }, mediaTypes : [Titanium.Media.MEDIA_TYPE_VIDEO] });I am using the above mentioned code.
It takes me to gallery but only images are shown. Is there any work around for video upload in android. Any help is appreciated
Thanks,