{ "id": "67474", "key": "TIMOB-4340", "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": "2012-02-13T09:37:33.000+0000", "created": "2011-06-06T15:52:01.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "tbs-1.9.0" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-30T22:10:18.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 \"playing\" and \"playbackstate\" properties of VideoPlayer are always undefined.\r\n\r\nStep 1: run the code below\r\nStep 2: look at the log\r\nStep 3: notice that \"playing\" and \"playbackstate\" are always undefined no matter what the video player's state is.\r\n\r\n{code:title=\"app.js\"}\r\nvar win = Titanium.UI.createWindow();\r\nvar activeMovie = Titanium.Media.createVideoPlayer({\r\n contentURL: 'http://theatercrew.com/sample.mp4',\r\n\tautoplay: true\r\n});\r\n\r\nwin.open();\r\nactiveMovie.play();\r\n\r\nactiveMovie.addEventListener('load',function(){\r\n Ti.API.info(\"Load event fired...\");\r\n playingInterval = setInterval( function(){\r\n\t\tvar msg = \">>\";\r\n\t\t // returns undefined on android\r\n\t\t msg += \"playing: \" + activeMovie.playing;\r\n\t\t // returns undefined on android\r\n\t\t msg += \" | playbackState: \" + activeMovie.playbackState;\r\n\t\t Ti.API.info(msg);\r\n\t}, 5000); \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: playing and playbackstate properties of VideoPlayer are always undefined", "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": "169643", "author": { "name": "theluan", "key": "theluan", "displayName": "Kent Nguyen", "active": true, "timeZone": "Asia/Shanghai" }, "updateAuthor": { "name": "theluan", "key": "theluan", "displayName": "Kent Nguyen", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2011-10-19T01:33:22.000+0000", "updated": "2011-10-19T01:33:22.000+0000" }, { "id": "171798", "author": { "name": "animecyc", "key": "animecyc", "displayName": "Seth Benjamin", "active": true, "timeZone": "America/New_York" }, "body": "Curious to see if there has been any updates to this; it's been quite a awhile without any updates for a relatively large issue.", "updateAuthor": { "name": "animecyc", "key": "animecyc", "displayName": "Seth Benjamin", "active": true, "timeZone": "America/New_York" }, "created": "2011-11-07T13:59:46.000+0000", "updated": "2011-11-07T13:59:46.000+0000" }, { "id": "182916", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This appears to be working correctly in 1.8.0.1 and in master.", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-13T09:37:42.000+0000", "updated": "2012-02-13T09:37:42.000+0000" }, { "id": "416399", "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:18.000+0000", "updated": "2017-03-30T22:10:18.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }