{ "id": "67469", "key": "TIMOB-4337", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-02-21T15:23:41.000+0000", "created": "2011-06-06T14:30:41.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "exalture", "look1", "tbs-1.9.0" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2017-03-30T22:10:49.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": "The \"loadstate\" event never fires for videoPlayer.\r\n\r\nStep 1: Run the code below\r\nStep 2: notice that loadstate never fires \r\n\r\n{code:title=\"app.js\"}\r\nvar win = Titanium.UI.createWindow();\r\nvar activeMovie = Titanium.Media.createVideoPlayer({\r\n\tcontentURL: 'http://theatercrew.com/sample.mp4',\r\n\tautoplay: true\r\n});\r\n\r\nwin.open();\r\nactiveMovie.play();\r\n\r\n// fires on iOS but not android\r\nactiveMovie.addEventListener('loadstate',function(e){\r\n Ti.API.info(\"loadstate event fired: \" + e.loadState); \r\n});\r\n{code}\r\n\r\nh3. Tested With\r\nTiSDK 1.7.0.RC1\r\nAndroid 2.3\r\n\r\nh3. Associated Helpdesk Ticket\r\nhttp://appc.me/c/APP-888114", "attachment": [], "flagged": false, "summary": "Android: the loadstate event never fires for videoPlayer", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 1.7.0.RC1\r\nAndroid 2.3", "comment": { "comments": [ { "id": "169642", "author": { "name": "theluan", "key": "theluan", "displayName": "Kent Nguyen", "active": true, "timeZone": "Asia/Shanghai" }, "body": "please fix this. need it urgently in 1.8.0 CI", "updateAuthor": { "name": "theluan", "key": "theluan", "displayName": "Kent Nguyen", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2011-10-19T01:32:19.000+0000", "updated": "2011-10-19T01:32:19.000+0000" }, { "id": "182875", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This appears to work in current master.", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-12T23:12:31.000+0000", "updated": "2012-02-12T23:12:31.000+0000" }, { "id": "239030", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "This works fine. Sample code is not right, the 'activeMovie' needs to be added to 'win'.", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-02-20T16:11:20.000+0000", "updated": "2013-02-20T16:11:20.000+0000" }, { "id": "239238", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "I can't reproduce this. Sample code is not right, the 'activeMovie' needs to be added to 'win'.", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-02-21T15:23:42.000+0000", "updated": "2013-02-21T15:23:42.000+0000" }, { "id": "416400", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as I am unable to reproduce the issue using the following environment; \r\nPixel (7.1) \r\nMacOS 10.11.6 (15G31) \r\nStudio 4.8.1.201612050850 \r\nTi SDK 6.0.3 GA \r\nAppc NPM 4.2.8 \r\nAppc CLI 6.1.0 \r\nTi CLI 5.0.11 \r\nAlloy 1.9.5 \r\nArrow 1.10.1 \r\nXcode 8.2 (8C38) \r\nNode v4.6.0 \r\nJava 1.7.0_80", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-30T22:10:49.000+0000", "updated": "2017-03-30T22:10:49.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }