{ "id": "85284", "key": "TIMOB-8471", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13408", "description": "Sprint 2012-12 API", "name": "Sprint 2012-12 API", "archived": true, "released": true, "releaseDate": "2012-06-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-06-12T09:50:24.000+0000", "created": "2012-01-21T22:53:13.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "qe-port" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-08-14T16:50:02.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": "h6.Issue\r\nWhen playing a local video on iOS 5 (simulator or device), it shows up as a black screen. Only happens on a machine with XCode 4.2. On a computer with the exact same configurations and XCode 4.1, it plays properly.\r\n\r\nh6.Repro sequence\r\n{code}\r\nvar win = Ti.UI.createWindow(),\r\nvideoPlayer = Ti.Media.createVideoPlayer({\r\n borderWidth: 1,\r\n width: \"100%\",\r\n height: \"100%\",\r\n media: Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, \"sample.mp4\"),\r\n sourceType: Ti.Media.VIDEO_SOURCE_TYPE_FILE,\r\n autoplay: true\r\n});\r\n\r\nwin.add(videoPlayer);\r\nwin.open();\r\n{code}\r\n\r\nh6.Console output\r\n{code}\r\n[INFO] One moment, building ...\r\n[INFO] Titanium SDK version: 1.8.0.1 (12/22/11 13:09 fbdc96f)\r\n[INFO] iPhone Device family: universal\r\n[INFO] iPhone SDK version: 5.0\r\n[INFO] iPhone simulated device: iphone\r\n[INFO] Launching application in Simulator\r\n[INFO] Launched application in Simulator (4.54 seconds)\r\n[INFO] Found 5.0 patch installed\r\n[INFO] Application started\r\n{code}", "attachment": [ { "id": "26759", "filename": "iOS_screen_4.3.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-31T20:41:51.000+0000", "size": 37505, "mimeType": "image/jpeg" }, { "id": "26758", "filename": "iOS_screen_5.0.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-31T20:41:51.000+0000", "size": 25447, "mimeType": "image/jpeg" }, { "id": "25251", "filename": "sample.mp4", "author": { "name": "b0morris", "key": "b0morris", "displayName": "Brad Morris", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-21T22:53:13.000+0000", "size": 57232, "mimeType": "video/mp4" } ], "flagged": false, "summary": "iOS: VideoPlayer - black screen with local file on iOS5 and XCode 4.2", "creator": { "name": "b0morris", "key": "b0morris", "displayName": "Brad Morris", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "b0morris", "key": "b0morris", "displayName": "Brad Morris", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK version: 1.8.0.1, 2.0\r\niOS 5 Simulator and Device\r\nTiStudio 1.0.7.201112281340\r\nXCode version 4.2 Build 4D199", "comment": { "comments": [ { "id": "214492", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix with:\r\nTitanium Studio, build: 2.1.1.201207271312\r\nTitanium SDK: 2.2.0.v20120813184911\r\nDevices:\r\niPhone 4s 5.0.1\r\niPad1 5.1.1\r\nSimulator 5.1", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-14T16:50:02.000+0000", "updated": "2012-08-14T16:50:02.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }