{ "id": "65717", "key": "TIMOB-4200", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "11333", "description": "Mobile 1.8.0 M01", "name": "Sprint 2011-22", "archived": true, "released": true, "releaseDate": "2011-06-06" } ], "resolution": { "id": "6", "description": "", "name": "Hold" }, "resolutiondate": "2011-06-03T10:56:03.000+0000", "created": "2011-05-24T11:24:44.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "camera", "ios", "look1" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-13T21:24:59.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "With edit mode turned on for a recorded video the last step allows you to clip your video. However, the clipping is entirely ignored and the entire video is returned.\nTest Code:\n{code}\nvar win = Ti.UI.createWindow();\nvar recordVideoButton = Titanium.UI.createButton({title: 'Record A Video', bottom: 3, height: 30});\nvar recordVideo = function(){\t\t\t\n\tTitanium.Media.showCamera({\n\t\tallowEditing: true,\n\t\tmediaTypes: Titanium.Media.MEDIA_TYPE_VIDEO,\n\t\tvideoQuality: Titanium.Media.QUALITY_LOW,\n\t\tsuccess: function(e){\n\t\t\tvar video = Titanium.Media.createVideoPlayer({\n\t\t\t\t\tautoplay: false ,\n\t\t\t\t\ttop: 55,\n\t\t\t\t\theight: 180,\t\t\n\t\t\t\t\tmedia: e.media,\n\t\t\t\t\tmovieControlMode: Titanium.Media.VIDEO_CONTROL_DEFAULT,\n\t\t\t movieControlStyle: Titanium.Media.VIDEO_CONTROL_EMBEDDED,\n\t\t\t scalingMode: Titanium.Media.VIDEO_SCALING_ASPECT_FIT,\n\t\t\t width: 240\t \n\t\t\t});\n\t\t\twin.add(video);\n\t\t}\t\n\t});\n};\nrecordVideoButton.addEventListener('click', recordVideo);\nwin.add(recordVideoButton);\nwin.open();\n{code}\n", "attachment": [], "flagged": false, "summary": "iOS - Edit mode on record video returns entire video", "creator": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "iOS iPhone Simulator", "comment": { "comments": [ { "id": "134817", "author": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is not implementable using Apple's public APIs. The cropping information is returned to the client code using undocumented dictionary keys (\"_UIImagePickerControllerVideoEditingEnd\", \"_UIImagePickerControllerVideoEditingStart\") in the didFinishPickingMediaWithInfo dictionary.", "updateAuthor": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-03T10:56:03.000+0000", "updated": "2011-06-03T10:56:03.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }