{ "id": "63697", "key": "TIMOB-3065", "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": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-08-14T04:55:43.000+0000", "created": "2011-04-15T03:35:51.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "module_orientation", "qe-review", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-08-14T04:55:43.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": "{html}
Problem reported here: http://developer.appcelerator.com/helpdesk/view/70751
\r\nOrientation events aren't getting picked up when a video player\r\nis playing.
Code to reproduce:
\r\n\r\nvar win = Ti.UI.currentWindow;\r\n \r\nwin.orientationModes = \r\n[\r\n Ti.UI.PORTRAIT,\r\n Ti.UI.UPSIDE_PORTRAIT, \r\n Ti.UI.LANDSCAPE_LEFT,\r\n Ti.UI.LANDSCAPE_RIGHT\r\n];\r\n \r\nvar activeMovie = Titanium.Media.createVideoPlayer({\r\n url: 'http://195.238.27.196/VOD/android/0006676NLP00.3gp'\r\n});\r\nactiveMovie.play();\r\n \r\nTi.Gesture.addEventListener('orientationchange', function(e) { \r\n Ti.API.info('Orientation changed: ' + e.orientation);\r\n});
\r\n