{ "id": "97959", "key": "TIMOB-10128", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-07-31T11:47:20.000+0000", "created": "2012-07-25T05:32:26.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "qe-and070112" ], "versions": [ { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" } ], "issuelinks": [], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-07-17T10:12:48.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": "On Android platform,the DoubleClick event on videoplayer not fired.\r\n\r\nThis is not a regression.It even occurs on 2.1.0\r\n\r\nSteps to Reproduce:\r\n\r\n1. Install and launch the app.js on to the android device.\r\n2. Double click on the video.\r\n\r\nExpected Result:\r\nAlert should display,\"dblclick\".\r\n\r\nActual Result:\r\nNo alert is displayed.\r\n\r\napp.js\r\n\r\n{code}\r\nvar win= Ti.UI.createWindow();\t\t\r\nvar videoObject = Titanium.Media.createVideoPlayer({\r\n\t\t contentURL:'movie.mp4',\r\n\t\t scalingMode:Titanium.Media.VIDEO_SCALING_MODE_FILL,\r\n\t\t top:0,\r\n\t\t left:0,\r\n\t\t height:'100%',\r\n\t\t width:'100%',\r\n\t\t autoplay:true\r\n\t\t});\r\n\t\t \r\n\t\tvideoObject.addEventListener('dblclick', function(){\r\n\t\t alert('dblclick!');\r\n\t\t});\r\n\r\n\t\twin.add(videoObject);\r\n\t\twin.open();\r\n{code}\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "Android: VideoPlayer: DoubleClick event on videoplayer not fired", "creator": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Tested with Titanium SDK: 2.1.1.v20120723131610\r\nTested with Titanium  Studio: 2.1.1.201207161421\r\nAndroid Device: Samsung GALAXY Note (2.3.6),LG P970 (2.2)\r\nOS: Mac OSX 10.7.3\r\n", "comment": { "comments": [ { "id": "210780", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "In the above test case, when we touch the screen, it will first toggle the media control which means the first touch event is intercepted. Therefore when we double click the screen, \"dblclick\" event won't be fired.\r\nIf we set \"mediaControlStyle: Titanium.Media.VIDEO_CONTROL_HIDDEN\" when creating the video player, the \"dblclick\" event works fine.\r\nThis is how videoplayer works. Mark the ticket invalid.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-31T11:47:03.000+0000", "updated": "2012-07-31T11:47:03.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }