{ "id": "113417", "key": "TIMOB-13677", "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": "15646", "description": "2013 Sprint 18", "name": "2013 Sprint 18", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "id": "15690", "description": "2013 Sprint 18 API", "name": "2013 Sprint 18 API", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-08-30T23:09:01.000+0000", "created": "2013-04-26T05:21:11.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android", "fullscreen", "html5", "module_webview", "qe-testadded", "video", "webview" ], "versions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "32471", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "81304", "key": "TIMOB-5473", "fields": { "summary": "Android: HTML5 video gets stuck while trying to load the video (on webview)", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "31235", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "118891", "key": "TIMOB-14934", "fields": { "summary": "Android: WebView: the pause button does not work when playing a youtube video on 4.0 devices", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-10-22T05:12:12.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": "When we play a video in a webView in Android, we are not able to maximize the screen of the video.\r\nTested with YouTube,Vimeo,etc and found the same issue.\r\nHere is the code snippet used for playing the video through HTML:\r\n{code}\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n{code}\r\n\r\nor\r\n\r\n{code}\r\n\r\n\r\n\t\r\n\r\n\r\n\t\r\n\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Not able to maximize(fullscreen) the video in a webView", "creator": { "name": "mpathak", "key": "mpathak", "displayName": "Meenakshi Pathak", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mpathak", "key": "mpathak", "displayName": "Meenakshi Pathak", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "267754", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/4599\r\nFor FR:\r\n1. Run the test case below on 2.3, 3.x, 4.x devices.\r\n{code}\r\n---------------------- app.js --------------------------\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'yellow'\r\n});\r\n\r\nvar webview = Ti.UI.createWebView({\r\n lightTouchEnabled: false,\t\r\n url: \"webpage.html\"\r\n});\r\n\r\nwin.add(webview);\r\n\r\nwin.open(); \r\n\r\n-------------------- webpage.html ------------------\r\n\r\n\r\n \r\n\r\n\r\n \r\n\r\n\r\n{code}\r\nPlease enable Settings->Developer options->Force GPU rendering, and add\r\n{code}\r\n\r\n \r\n \r\n \r\n \r\n\r\n{code}\r\nto the tiapp.xml.\r\n2. Click the play button. On 2.3 devices, once the video starts playing it becomes full screen. On the other devices, click the fullscreen button. Should see the video is playing in full screen.\r\n3. Click the BACK button. Should close the full-screen video.\r\n4. Run KS->BASE UI->Views->Web Views.\r\n\r\n*Note*: After the full-screen video is closed, the original web view shows. But the video may continue playing or be paused or be stopped, depends on different devices. On 2.3 devices, the video shows a black screen (sometimes with an activity indicator). The user needs to click the \"pause\" button and then the \"play\" button, the video can play again.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-23T00:05:24.000+0000", "updated": "2013-08-27T20:58:53.000+0000" }, { "id": "272625", "author": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi... Ping Wang\r\n\r\ni am trying to do this above stuff but for me it's not working....... still i am facing same issue while i clicked on fullscreen button the video get freezed only audio is hear...", "updateAuthor": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-24T06:28:44.000+0000", "updated": "2013-09-24T06:28:44.000+0000" }, { "id": "272707", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~jignesh.igp], what device do you use? Which CI build SDK do you use? Do you use the sample code attached above? If not, can you paste your sample code? Do you have hardware acceleration turned on in your device?", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-24T19:55:13.000+0000", "updated": "2013-09-24T19:55:13.000+0000" }, { "id": "272784", "author": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "body": "\r\n*******************************************************\r\nandroid sdk version --------- > 3.1.1\r\n\r\ndevice info :\r\n samsung GT-N8000 tablet \r\n android version : 4.1.2\r\n\r\n*******************************************************\r\n\r\n\r\n/////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\nTEST CASE \r\n///////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\r\n\r\n\r\n***************************************************************\r\napp.js\r\n\r\n****************************************************************\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : 'yellow'\r\n});\r\n \r\nvar webview = Ti.UI.createWebView({\r\n\ttop : 0,\r\n\tleft: 0,\r\n\tright : 0,\r\n\tbottom : 0,\r\n lightTouchEnabled: false, \r\n url: \"demo.html\"\r\n});\r\n \r\nwin.add(webview);\r\n \r\nwin.open(); \r\n\r\n\r\n\r\n\r\n**************************************************\r\ndemo.html\r\n\r\n*****************************************************\r\n\r\n\r\n\r\n\r\n \r\n \r\n
\r\n \t\r\n \t\r\n
\r\n\r\n \r\n \r\n\r\n\r\n\r\n****************************************************************\r\ntiapp.xml\r\n****************************************************************\r\n\r\n \r\n\r\n\t\t \r\n \r\n \r\n \r\n\t \t\r\n \r\n", "updateAuthor": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-25T05:23:15.000+0000", "updated": "2013-09-25T05:23:15.000+0000" }, { "id": "272874", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~jignesh.igp], this fix is not in SDK 3.1.1. You need to download the master CI build to test it http://builds.appcelerator.com.s3.amazonaws.com/index.html?mobile_branch=master#master", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-25T19:57:29.000+0000", "updated": "2013-09-25T19:57:29.000+0000" }, { "id": "272950", "author": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi... Ping Wang\r\n\r\n\r\nbut i have used navite android-sdk", "updateAuthor": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-26T08:28:38.000+0000", "updated": "2013-09-26T08:29:12.000+0000" }, { "id": "272993", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "When you said \n{quote}\nandroid sdk version --------- > 3.1.1\n{quote}\nyou meant Titanium SDK version 3.1.1, right?", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-26T17:15:14.000+0000", "updated": "2013-09-26T17:15:14.000+0000" }, { "id": "273128", "author": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "body": "\r\nyes....\r\n\r\nin tiapp.xml configurations shows \r\n -----------------------------------\r\nTitanium SDK -> 3.1.1 GA\r\n", "updateAuthor": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-27T05:16:33.000+0000", "updated": "2013-09-27T05:16:33.000+0000" }, { "id": "273197", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This fix is not in 3.1.1.GA. You have to download the latest master build which is 3.2.0 http://builds.appcelerator.com.s3.amazonaws.com/index.html?mobile_branch=master#master", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-27T17:02:16.000+0000", "updated": "2013-09-27T17:02:16.000+0000" }, { "id": "273348", "author": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "body": "okay....\r\n\r\n\r\nbut when i am go in to titanium studio > help > check for titanium update it shows me letest\r\n\r\nTitanium SDK 3.1.3 General Availability - 09/18/2013\r\n \r\n which is automatically update the Titanium SDK but it's not usefull for me because still it version 3.1.3 and as you say it's fixed in SDK 3.2.0.\r\ni also downloded master mobilesdk 3.2.0 but how can i set it ? can i directly browse the folder and set it? \r\n\r\n--------------------------------------------\r\n\r\nplatform > ubantu 12.04\r\n \r\n\r\n", "updateAuthor": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-30T10:23:56.000+0000", "updated": "2013-09-30T10:23:56.000+0000" }, { "id": "273374", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please follow the steps here to install the 3.2.0 CI build: http://docs.appcelerator.com/titanium/latest/#!/guide/Installing_Titanium_SDK_Continuous_Builds\n\nYou then can set that version as the version for your project.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-30T14:26:29.000+0000", "updated": "2013-09-30T14:26:29.000+0000" }, { "id": "274128", "author": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "body": "i tested this new Titanium SDK that is 3.2.0 master from the continues build and it support the html5 video full screen mode that's fine\r\n\r\nbut it create some bug in to my app. for eg. > button and it's image is not displayed.\r\n\r\n------------------------------\r\nright now in my application i am use 3.1.1 and it's working fine but that not support the full screen mode.\r\nso for that when i use 3.2.0 and build the application it create some issue or bug. as i discussed\r\n\r\n\r\ni think the Titanium SDK is not stable to every version and that's why it create the problem.\r\n\r\n\r\n--------------------------------------------\r\n\r\nplease can you give me the hint how can i make it work to full screen in my existing version that is 3.1.1 GA, without use of 3.2.0\r\n?\r\n\r\n\r\n\r\n ", "updateAuthor": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-08T07:15:53.000+0000", "updated": "2013-10-08T07:15:53.000+0000" }, { "id": "274168", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~jignesh.igp] We would prefer, you can file a bug for the problem you see in SDK 3.2.0 and we can fix it.\n\nAlternately, if you'd like you can backport the pull request into a custom version of the SDK. https://github.com/appcelerator/titanium_mobile/pull/4599. That's the only way to get it fixed in version 3.1.3 of the SDK.\n", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-08T15:59:56.000+0000", "updated": "2013-10-08T15:59:56.000+0000" }, { "id": "275697", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed.\n\nTiSDK 3.2.0.v20131017152001 \nCLI 3.2.0\nTitanium Studio 3.2.0.201310152326\n\nClosing.\n", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-18T18:39:31.000+0000", "updated": "2013-10-18T18:39:31.000+0000" }, { "id": "276088", "author": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "body": "how can i download the whole studio\r\n\r\n>>>>>>>> Titanium Studio 3.2.0.201310152326", "updateAuthor": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-22T05:12:12.000+0000", "updated": "2013-10-22T05:12:12.000+0000" } ], "maxResults": 17, "total": 17, "startAt": 0 } } }