{ "id": "63519", "key": "TIMOB-2887", "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": "11239", "name": "Release 1.6.0 M06", "archived": true, "released": true, "releaseDate": "2011-01-24" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-11-26T23:21:59.000+0000", "created": "2011-04-15T03:32:05.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "defect", "kicthensink", "movie", "qe-3.2.0", "qe-testadded", "regression", "release-1.6.0", "reported-1.6.0" ], "versions": [], "issuelinks": [ { "id": "33396", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "122872", "key": "TIMOB-15821", "fields": { "summary": "Android: Unable to access files in Resources folder", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-03-18T09:14:50.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Reproduces on device and in sim.\r\n\r\nPhone > Play Movie fails to show movie with \"unable to open content error\"\r\n# Phone > Play Movie\r\n# let it play\r\n\r\nResults: no video shown, adb shows following errors: http://pastie.org/1478896", "attachment": [ { "id": "44138", "filename": "logs.txt", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-11-25T07:11:16.000+0000", "size": 3136, "mimeType": "text/plain" }, { "id": "44137", "filename": "movie.mp4", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-11-25T07:11:16.000+0000", "size": 2549211, "mimeType": "video/mp4" }, { "id": "44148", "filename": "TIMOB2887.txt", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-25T18:41:45.000+0000", "size": 2570, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Movie fails to render with \"unable to open content error\"", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "129626", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

works as expected in 1.5.1

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:32:05.000+0000", "updated": "2011-04-15T03:32:05.000+0000" }, { "id": "129627", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [11f5e27c2df7f89740aa4c95a41845f3f65a8efe])\ndon't compress certain image/audio/video types in the final APK.\nApparently Android can't decompress them correctly
\n[#2887 state:fixed-in-qa] [#2888\nstate:fixed-in-qa] \nhttps://github.com/appcelerator/titanium_mobile/commit/11f5e27c2df7...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:32:06.000+0000", "updated": "2011-04-15T03:32:06.000+0000" }, { "id": "129628", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Verified on G1/1.6 and Nexus One/2.2.1 using build #e1cb22a

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:32:06.000+0000", "updated": "2011-04-15T03:32:06.000+0000" }, { "id": "281095", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "I am able to reproduce this issue.\r\nThis is regression, works fine on SDK: 3.1.3.GA\r\n\r\nSteps to reproduce:\r\n1. Run the app below.\r\n\r\n{code}\r\nvar _window = Ti.UI.createWindow({\r\n\tbackgroundColor:'white'\r\n}); \r\nvar activeMovie1 = Titanium.Media.createVideoPlayer({\r\n\t\t\tsourceType : Ti.Media.VIDEO_SOURCE_TYPE_FILE,\r\n\t\t\turl : 'movie.mp4',\r\n\t\t\t//backgroundColor : '#000',\r\n\t\t\tscalingMode : Titanium.Media.VIDEO_SCALING_ASPECT_FIT,\r\n\t\t\tmovieControlStyle : Titanium.Media.VIDEO_CONTROL_NONE\r\n\t\t});\r\n\r\n\r\n\r\n\t\tvar activeMovie2 = Titanium.Media.createVideoPlayer({\r\n\t\t\tsourceType : Ti.Media.VIDEO_SOURCE_TYPE_FILE,\r\n\t\t\turl : 'movie.mp4',\r\n\t\t\t//backgroundColor : '#000',\r\n\t\t\tscalingMode : Titanium.Media.VIDEO_SCALING_ASPECT_FIT,\r\n\t\t\tmediaControlStyle : Titanium.Media.VIDEO_CONTROL_NONE\r\n\t\t});\r\n\r\n\t\t_window.add(activeMovie2);\r\n\t\t\r\n_window.open();\r\n\r\n{code}\r\nPaste movie.mp4 under Resources folder.\r\n\r\nExpected:\r\nMovie should play when running the app.\r\n\r\nActual:\r\nMovie does not play, Logs are attached.", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-11-25T07:09:10.000+0000", "updated": "2013-11-25T07:09:10.000+0000" }, { "id": "281096", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Environment used:\r\n\r\nDevice : Google Nexus 7, Android Version: 4.2.1\r\nSDK: 3.2.0.v20131122172908\r\nCLI version : 3.2.0-alpha\r\nOS : MAC OSX 10.9\r\n1.3.0-alpha6\r\nAppcelerator Studio, build: 3.2.0.201311221207\r\nXCode : 5.0.2", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-11-25T07:12:13.000+0000", "updated": "2013-11-25T07:13:43.000+0000" }, { "id": "281180", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bug exists on:\nMac OSX 10.9 Mavericks\nTitanium Studio, build: 3.2.0.201311221859\nTitanium SDK, build: 3.2.0.v20131122172908\nCLI: 3.2.0-alpha\nEmulator: 2.3.3, 4.0.3\nDevice: Nexus One (4.1.1), Xperia Z (4.3)\n\nUsing test case provided in comments and the attached movie.\nApp opens but fails to run video with FileNotFoundException.\nLog attached as: TIMOB2887.txt", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-25T18:41:29.000+0000", "updated": "2013-11-25T18:41:29.000+0000" }, { "id": "284181", "author": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Verified fixed using above code with environment:\r\n\r\nAppcelerator Studio: 3.2.0.201312121648\r\nSDK: 3.2.0.v20131212122847\r\nalloy: 1.3.0-cr\r\nacs: 1.0.10\r\nnpm: 1.3.2\r\ntitanium: 3.2.0-cr3\r\ntitanium-code-processor: 1.1.0-cr2\r\nDevice: Nexus 7(v4.2.1) and iPhone 5C iOS 7.0.4\r\nMac OSX 10.9 Mavericks\r\n\r\nMovie plays successfully without any error. Hence closing the issue.", "updateAuthor": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-13T06:28:03.000+0000", "updated": "2013-12-13T06:28:03.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }