{ "id": "67461", "key": "TIMOB-4333", "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15274", "description": "2013 Sprint 06 API", "name": "2013 Sprint 06 API", "archived": true, "released": true, "releaseDate": "2013-03-25" }, { "id": "14816", "description": "2013 Sprint 06", "name": "2013 Sprint 06", "archived": true, "released": true, "releaseDate": "2013-03-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-03-22T06:11:51.000+0000", "created": "2011-06-06T13:52:26.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "exalture", "parity", "qe-testadded" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2013-09-23T07:39:11.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": "Android videoPlayer does not fire a playing event when the currently playing movie changes.\r\n\r\nStep 1: run the code below\r\nStep 2: notice that 'playing' never fires\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.add(activeMovie);\r\nwin.open();\r\nactiveMovie.play();\r\n\r\nactiveMovie.addEventListener('playing',function(){\r\n Ti.API.info('activeMovie.addEventListener(\\'playing\\',function(){');\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: videoPlayer does not fire playing event", "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": "157050", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "There is another HD ticket having the same issue, regardless via remote or locally, movie can't be played\r\n\r\nhttp://appc.me/c/APP-653931\r\n\r\nrepro sequence\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nvar win = Ti.UI.createWindow({ });\r\n\r\n//var video_url = \"https://s3.amazonaws.com/cbsappengine/harley.mp4\";//Get URL movie\r\n\r\nvar activeMovie = Titanium.Media.createVideoPlayer({\r\n\tcontentURL: 'android/harley.mp4',//Movie Stored locally\r\n\tbackgroundColor:'#111', \r\n\tmovieControlMode:Titanium.Media.VIDEO_CONTROL_DEFAULT,\r\n\tscalingMode:Titanium.Media.VIDEO_SCALING_MODE_FILL\r\n});\r\n\r\nwin.add(activeMovie);\r\n\t\t\t\t\r\nactiveMovie.play();\t\t\t\r\n\r\nwin.open();\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n7/2/11: I corrected this issue with supported video format (mp4) per Android, my mistake.\r\nhttp://developer.android.com/guide/appendix/media-formats.html", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-06-17T13:28:20.000+0000", "updated": "2011-07-02T14:15:17.000+0000" }, { "id": "158437", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "As a Customer relies on this, priority was increased.", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-07-02T13:36:24.000+0000", "updated": "2011-07-02T13:36:24.000+0000" }, { "id": "169641", "author": { "name": "theluan", "key": "theluan", "displayName": "Kent Nguyen", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Please fix this, it has been several months", "updateAuthor": { "name": "theluan", "key": "theluan", "displayName": "Kent Nguyen", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2011-10-19T01:30:41.000+0000", "updated": "2011-10-19T01:30:41.000+0000" }, { "id": "194914", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Issue still exists in 2.0.1GA2, tested on a Samsung Galaxy S2. Issue doesn't exist on the iOS simulator.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-05-15T15:17:42.000+0000", "updated": "2012-05-15T15:17:42.000+0000" }, { "id": "223926", "author": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR : https://github.com/appcelerator/titanium_mobile/pull/3257", "updateAuthor": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-17T00:33:50.000+0000", "updated": "2012-10-17T00:33:50.000+0000" }, { "id": "240451", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "If this need doc change, let me know", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-03-02T10:47:19.000+0000", "updated": "2013-03-02T10:47:19.000+0000" }, { "id": "243299", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/3925", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-20T23:40:46.000+0000", "updated": "2013-03-20T23:40:46.000+0000" }, { "id": "261618", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Environment Used - \nSDK - 3.1.2.v20130710144553\nAppcelerator Studio - 3.1.2.201307101037\nDevice - Galaxy Nexus 4(v4.0.4)\nacs - 1.0.3\nalloy - 1.1.3\nnpm - 1.2.14\ntitanium - 3.1.1\ntitanium-code-processor - 1.0.1\n\nNow video Player fires the playing event. Hence closing this issue.", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-12T11:21:22.000+0000", "updated": "2013-07-12T11:21:22.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }