{ "id": "123763", "key": "TIMOB-16044", "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": "15719", "description": "2013 Sprint 26", "name": "2013 Sprint 26", "archived": true, "released": true, "releaseDate": "2014-01-03" }, { "id": "15720", "description": "2013 Sprint 26 API", "name": "2013 Sprint 26 API", "archived": true, "released": true, "releaseDate": "2014-01-03" }, { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-12-23T22:33:17.000+0000", "created": "2013-12-15T22:02:50.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "3.2.0", "android", "module_webview", "qe-testadded", "webview" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "34044", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "124231", "key": "TIMOB-16105", "fields": { "summary": "Android: Second time a webview is loaded with a HTML5 video the video does not play", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2014-01-22T21:55:27.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": "Really love the new HTML5 video support in 3.2.\r\n\r\nBut when I load the webview in a window it the plugin (webhchrome client) Does not always stop playing. The Android docs say that you have to called the onPause function to clear all plugin activity. As far as I can see I don't see this happening here.\r\n\r\nhttps://github.com/wienke/titanium_mobile/blob/master/android/modules/ui/src/java/ti/modules/titanium/ui/widget/webview/TiWebChromeClient.java\r\n", "attachment": [], "flagged": false, "summary": "Android: Plugins keep playing after closing WebView", "creator": { "name": "wgiezeman", "key": "wgiezeman", "displayName": "Wienke", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "wgiezeman", "key": "wgiezeman", "displayName": "Wienke", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Android, API 19", "comment": { "comments": [ { "id": "284489", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We will investigate, but only consider this a blocker issue for 3.2.0 if it's a regression.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-16T18:45:17.000+0000", "updated": "2013-12-16T18:45:17.000+0000" }, { "id": "284760", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Removing dev-investigate and triage tags. We will schedule this once it is moved to a TIMOB ticket.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-17T16:11:22.000+0000", "updated": "2013-12-17T16:11:22.000+0000" }, { "id": "285063", "author": { "name": "wgiezeman", "key": "wgiezeman", "displayName": "Wienke", "active": true, "timeZone": "Europe/Berlin" }, "body": "When I call the pause function on the webview on closing of the window it also does not pause the HTML5 video plugin. If there would be a way to expose the onPause method of the native webview or hook that up to the pause function then that would fix the problem.", "updateAuthor": { "name": "wgiezeman", "key": "wgiezeman", "displayName": "Wienke", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-18T20:12:15.000+0000", "updated": "2013-12-18T20:12:15.000+0000" }, { "id": "285148", "author": { "name": "wgiezeman", "key": "wgiezeman", "displayName": "Wienke", "active": true, "timeZone": "Europe/Berlin" }, "body": "Just another suggestion:\r\n\r\nCan it be that the trick with:\r\n\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/blob/master/android/modules/ui/src/java/ti/modules/titanium/ui/widget/webview/TiUIWebView.java#L220\r\n// Hidden APIs\r\n// http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/webkit/WebView.java;h=bbd8b95c7bea66b7060b5782fae4b3b2c4f04966;hb=4db1f432b853152075923499768639e14403b73a#l2558\r\ninternalWebViewPause = webView.getClass().getMethod(\"onPause\");\r\ninternalWebViewResume = webView.getClass().getMethod(\"onResume\");\r\n\r\nis not working any more with API 19?", "updateAuthor": { "name": "wgiezeman", "key": "wgiezeman", "displayName": "Wienke", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-19T07:46:58.000+0000", "updated": "2013-12-19T07:46:58.000+0000" }, { "id": "285163", "author": { "name": "wgiezeman", "key": "wgiezeman", "displayName": "Wienke", "active": true, "timeZone": "Europe/Berlin" }, "body": "I tried it in a module which works. Please see this line.\r\n\r\nhttps://github.com/WappZapp/html5video-appcelerator-module/blob/master/src/tv/wappzapp/html5video/WebVideoProxy.java#L94\r\n\r\nShouldn't be that hard of a fix. I like the way you guys do it way better.", "updateAuthor": { "name": "wgiezeman", "key": "wgiezeman", "displayName": "Wienke", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-19T13:18:31.000+0000", "updated": "2013-12-19T13:18:31.000+0000" }, { "id": "285180", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "pause and resume webview when the activity is paused or resumed\r\nhttps://github.com/appcelerator/titanium_mobile/pull/5150", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-19T16:45:55.000+0000", "updated": "2013-12-19T16:45:55.000+0000" }, { "id": "285353", "author": { "name": "wgiezeman", "key": "wgiezeman", "displayName": "Wienke", "active": true, "timeZone": "Europe/Berlin" }, "body": "Great this is being worked on. Please let me know if I can be of any help in testing or otherwise.", "updateAuthor": { "name": "wgiezeman", "key": "wgiezeman", "displayName": "Wienke", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-20T08:32:09.000+0000", "updated": "2013-12-20T08:32:09.000+0000" }, { "id": "285513", "author": { "name": "wgiezeman", "key": "wgiezeman", "displayName": "Wienke", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thanks guys! I compiled this in the 3.2.0 and it works like a charm.\r\n\r\nYou guys rock! And have a good christmas.", "updateAuthor": { "name": "wgiezeman", "key": "wgiezeman", "displayName": "Wienke", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-21T16:31:05.000+0000", "updated": "2013-12-21T16:31:05.000+0000" }, { "id": "285637", "author": { "name": "wgiezeman", "key": "wgiezeman", "displayName": "Wienke", "active": true, "timeZone": "Europe/Berlin" }, "body": "Some stuff I notice with this solution:\r\n\r\n- 4.2 - when going to a window which as a video and leaving the video while playing, play does not work when you open a second screen with a window. When you hit the fullscreen button and play it, it will play but not from the non fullscreen container\r\n- 4.3 same behaviour but now the controls are also not showing.", "updateAuthor": { "name": "wgiezeman", "key": "wgiezeman", "displayName": "Wienke", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-23T15:46:25.000+0000", "updated": "2013-12-23T15:46:25.000+0000" }, { "id": "285775", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~wgiezeman] We believe the original reported issue has been fixed. We would appreciate if you can open another ticket for the new issues you are running into and we would troubleshoot these issues.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-25T02:18:55.000+0000", "updated": "2013-12-25T02:18:55.000+0000" }, { "id": "285949", "author": { "name": "wgiezeman", "key": "wgiezeman", "displayName": "Wienke", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "wgiezeman", "key": "wgiezeman", "displayName": "Wienke", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-27T15:58:24.000+0000", "updated": "2013-12-27T15:58:24.000+0000" }, { "id": "286628", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "3_2_X: https://github.com/appcelerator/titanium_mobile/pull/5182", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-03T21:15:37.000+0000", "updated": "2014-01-03T21:15:37.000+0000" }, { "id": "286936", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Environment Used - \nAppc-Studio: 3.2.1.201401061716\nSDK Build:3.2.1.v20140106195644 and 3.3.0.v20140106195650
\nacs:1.0.11
\nalloy:1.3.1-beta
\nnpm:1.3.2
\ntitanium:3.2.0
\ntitanium-code-processor:1.1.0
\nOsx: Maverick 10.9
\nDevice:Nexus7(v4.3)\n\nResult - Not its working and not reproducible.", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-07T10:33:25.000+0000", "updated": "2014-01-07T10:33:25.000+0000" }, { "id": "287069", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-07T22:16:27.000+0000", "updated": "2014-01-07T22:16:27.000+0000" } ], "maxResults": 17, "total": 17, "startAt": 0 } } }