{ "id": "109735", "key": "TIMOB-12739", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-06-14T19:49:14.000+0000", "created": "2013-02-14T20:30:57.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-sdk3.0.2" ], "versions": [], "issuelinks": [ { "id": "25852", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "83816", "key": "TIMOB-6667", "fields": { "summary": "iOS: Downloaded video from remote server, is not saved into photo gallery", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-14T19:49:14.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": "It is not a regression, same behavior in 3.0.0.GA\r\nTest steps:\r\nRun this code and check Photo gallery for .mp4 video file\r\n{code}\r\n//var mp4_path = 'http://www.eyejot.com/mediabits?t=4&u=davidg&g=0E15E94BE83D150000404089CD&f=3424725A1718F2FFFFCDAE1066'\r\nvar mp4_path = 'http://www.mp4point.com/downloads/f4f0ea5981b3.mp4'\r\n//var mp4_path = 'http://daily3gp.com/vids/747.3gp';\r\nTi.API.info('set path');\r\n//var mp4_path = 'http://images.developercenter.appcelerator.com.s3.amazonaws.com/support-admin_logo_graphic.png'\r\n \r\ndownload_xhr = Ti.Network.createHTTPClient();\r\nTi.API.info('set client');\r\ndownload_xhr.onload = function(e) {\r\n Ti.API.info('lets save the file');\r\n Titanium.Media.saveToPhotoGallery(this.responseData, {\r\n success: function(e) {\r\n Ti.API.info(\"SUCCESS!\");\r\n },\r\n error: function(e) {\r\n Ti.API.info(\"GALLERY ERROR: \"+e.error);\r\n }\r\n });\r\n};\r\n \r\ndownload_xhr.onerror = function(e) {\r\n Logger.log ('[gallery_test:downloadMessage] onerror');\r\n return;\r\n};\r\n \r\ndownload_xhr.open ('GET', mp4_path);\r\nTi.API.info('ran open');\r\ndownload_xhr.send();\r\nTi.API.info('ran send');\r\n{code}\r\n\r\nActual result:\r\nNo Errors in the log and no movie in the Photo stream", "attachment": [], "flagged": false, "summary": "iOS: Media - mp4 file is not recognized as a valid mime type", "creator": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 3.0.2.201302081641\r\nTitanium SDK, build: 3.0.2.v20130207164659 \r\nCLI 3.0.24-cr\r\niOS 6.0 Simulator\r\nDevices:\r\niPhone4 iOS 5.1.1\r\niPad mini iOS 6.0.2\r\n", "comment": { "comments": [ { "id": "421990", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to time passed and lack of progress in the past few years. Any problems, please file a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-14T19:49:14.000+0000", "updated": "2017-06-14T19:49:14.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }