[TIMOB-1142] Videos in Photo Gallery
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:55:19.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | iOS |
Labels | defect, feature, gallery, ios, iphone, photo |
Reporter | Ralf Pfeiffer |
Assignee | Blain Hamon |
Created | 2011-04-15T02:45:04.000+0000 |
Updated | 2011-04-17T01:55:19.000+0000 |
Description
We need to expose videos when the openPhotoGallery method is called. Right now, only photos are exposed.
Titanium.Media.openPhotoGallery({
success:function(event)
{
var cropRect = event.cropRect;
var image = event.media;
// set image view
imageView.image = image;
Titanium.API.info('PHOTO GALLERY SUCCESS cropRect.x ' + cropRect.x + ' cropRect.y ' + cropRect.y + ' cropRect.height ' + cropRect.height + ' cropRect.width ' + cropRect.width);
},
cancel:function()
{
},
error:function(error)
{
},
allowImageEditing:true,
});
I opened a ticket here
https://appcelerator.lighthouseapp.com/projects/32238/tickets/1121-android-video-gallery-upload#ticket-1121-1"> https://appcelerator.lighthouseapp.com/projects/32238/tickets/1121-...
But i think it was implemented on iphone. I only test with iphone simulator, not device. It's really strange because i saw in titanium source code that it is implemented for iphone.
It really annoy me because i develop an application for an enterprise and if this functionality doesn't exist, i should have to give up Titanium. Could you make the best to implement that quickly ?
this is actually a code issue, set
mediaTypes:[Ti.Media.MEDIA_TYPE_VIDEO,Ti.Media.MEDIA_TYPE_PHOTO]