[TIMOB-1031] provide selected type for camera (video or camera) when both options are available
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:55:00.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.4.0 |
Components | iOS |
Labels | n/a |
Reporter | Nolan Wright |
Assignee | Blain Hamon |
Created | 2011-04-15T02:41:57.000+0000 |
Updated | 2011-04-17T01:55:00.000+0000 |
Description
see http://helpdesk.appcelerator.net/tickets/2729">http://helpdesk.appcelerator.net/tickets/2729
need a property in the success event object - something like mediaType or selectedMediaType
We already return
mediaType
as part of the success event. See-[TiMedia imagePickerController:didFinishPickingMediaWithInfo:]
.Don't have a video-capable device to test this on so somebody else will have to take the reins to see if this is invalid or not.
Blain said he'll test this tomorrow since he's got all the gadgets. Here's what needs to be done:
mediaTypes:[MEDIA_TYPE_VIDEO, MEDIA_TYPE_PHOTO]
to the picker and make sure the selection slider is displayed.mediaType
value returned on success.(from [4b5ab128c1f7d7205c649ff32bc1472c00254f1c]) Closes #1031 . The functionality was already present, but Kitchen Sink did not properly reflect this functionality. Photo Gallery and Camera basic tests now allow for usage of video, but the tests do not make use of video yet beyond only giving images to the image view. http://github.com/appcelerator/titanium_mobile/commit/4b5ab128c1f7d7205c649ff32bc1472c00254f1c"> http://github.com/appcelerator/titanium_mobile/commit/4b5ab128c1f7d...
Does this mean that we can get a thumbnail back after picking/taking a video now?