{ "id": "61774", "key": "TIMOB-1142", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:55:19.000+0000", "created": "2011-04-15T02:45:04.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "defect", "feature", "gallery", "ios", "iphone", "photo" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:55:19.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

We need to expose videos when the openPhotoGallery method is\ncalled. Right now, only photos are exposed.

\n

Titanium.Media.openPhotoGallery({

\n
\nsuccess:function(event)\n{\n    var cropRect = event.cropRect;\n    var image = event.media;\n\n    // set image view\n    imageView.image = image;\n\n    Titanium.API.info('PHOTO GALLERY SUCCESS cropRect.x ' + cropRect.x + ' cropRect.y ' + cropRect.y  + ' cropRect.height ' + cropRect.height + ' cropRect.width ' + cropRect.width);\n\n},\ncancel:function()\n{\n\n},\nerror:function(error)\n{\n},\nallowImageEditing:true,\n
\n

});

{html}", "attachment": [], "flagged": false, "summary": "Videos in Photo Gallery", "creator": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rpfeiffer", "key": "rpfeiffer", "displayName": "Ralf Pfeiffer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124942", "author": { "name": "cyo", "key": "cyo", "displayName": "Cyo", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I opened a ticket here
\n\nhttps://appcelerator.lighthouseapp.com/projects/32238/tickets/1121-...

\n

But i think it was implemented on iphone. I only test with\niphone simulator, not device. It's really strange because i saw in\ntitanium source code that it is implemented for iphone.

\n

It really annoy me because i develop an application for an\nenterprise and if this functionality doesn't exist, i should have\nto give up Titanium. Could you make the best to implement that\nquickly ?

{html}", "updateAuthor": { "name": "cyo", "key": "cyo", "displayName": "Cyo", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:45:05.000+0000", "updated": "2011-04-15T02:45:05.000+0000" }, { "id": "124943", "author": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

this is actually a code issue, set

\n

\nmediaTypes:[Ti.Media.MEDIA_TYPE_VIDEO,Ti.Media.MEDIA_TYPE_PHOTO]

{html}", "updateAuthor": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:45:05.000+0000", "updated": "2011-04-15T02:45:05.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }