{ "id": "92558", "key": "TIMOB-9313", "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": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-04-08T01:02:41.000+0000", "created": "2012-05-30T13:30:29.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "SupportTeam", "api", "exalture" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "26196", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "inwardIssue": { "id": "105162", "key": "TIMOB-11810", "fields": { "summary": "Ti API: Address common WebView deficiencies", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "6", "description": "gh.issue.epic.desc", "name": "Epic", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-29T22:40:36.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": "h6.Problem\r\nSetting a youtube video to webView URL property isn't reproduced. Instead just slides a list of controls over the top of the initial video image (add to, share, like, dislike).\r\n\r\nh6.Steps to reproduce\r\n1. Run actual sample below\r\n2. Click the video\r\n3. Notice slide list of controls over the top\r\n\r\nh6.Expected behavior\r\nOn a Browser window (Droid OS) put \"http://www.youtube.com/watch?v=c8vduyyuPL8\", once the video was completely reproduced the list of controls appears at the top of video image. \r\n\r\nh6.Tested on\r\nDroid Razr with Android 2.3.5\r\nReported also on an HTC Evo with Android 2.3.5\r\n\r\nh6.Snippet code\r\n{code}\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nTitanium.UI.setBackgroundColor('#000');\r\n \r\n \r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Window',\r\n backgroundColor:'#fff',\r\n fullscreen: true,\r\n navBarHidden: true\r\n});\r\n \r\nvar webview = Titanium.UI.createWebView({\r\n url: 'http://www.youtube.com/watch?v=c8vduyyuPL8',\r\n touchEnabled: true,\r\n scalesPageToFit:true\r\n});\r\n\r\n/*\r\nwebview.onCreateWindow = function(e) {\r\n if (!e.isUserGesture) {\r\n return null;\r\n }\r\n \r\n var webWin = Ti.UI.createWindow({\r\n fullscreen: false\r\n });\r\n var newWebView = Ti.UI.createWebView();\r\n webWin.add(newWebView);\r\n webWin.open();\r\n \r\n return newWebView;\r\n};*/\r\n \r\nwin1.add(webview);\r\nwin1.open();\r\n{code}", "attachment": [ { "id": "28045", "filename": "RanchVideo.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-30T13:30:29.000+0000", "size": 119544, "mimeType": "image/jpeg" }, { "id": "36338", "filename": "Screenshot_2013-03-15-09-53-01.png", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-15T04:27:08.000+0000", "size": 272974, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: WebView: URL to video doesn't play", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Product: Mobile\r\nTitanium SDK: Mobile 1.8.0.1, 2.0.1, 2.1.0\r\nPlatform OS: Android\r\nPlatform OS Version: 2.3", "comment": { "comments": [ { "id": "242398", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Properties are shown below the screen(see screen shot \"Screenshot_2013-03-15-09-53-01\") and it shows before video reproduced.After reproduced only audio can hear but not video .But it works on ios as expected.\r\n\r\ntested on\r\n\r\nTitanium Studio, build: 3.0.2.201302191606\r\nTitanium SDK version: 3.1.0 \r\nTitanium SDK version: 3.0.2 \r\nDevice: Samsung galaxy s duos Android version: 4.0.4\r\nAndroid Emulator: Android SDK version: 2.2\r\niOS iPhone Simulator: iOS SDK version: 6.0\r\n ", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-15T04:15:28.000+0000", "updated": "2013-03-15T04:32:03.000+0000" }, { "id": "260922", "author": { "name": "owntheweb", "key": "owntheweb", "displayName": "Christopher Stevens", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can reproduce the same issue in WebView and also by opening a URL:\r\n\r\n{code}\r\nTitanium.Platform.openURL('http://www.youtube.com/watch?v=c8vduyyuPL8');\r\n{code}\r\n\r\nTitanium Studio, build: 3.1.1.201306112235\r\nTitanium SDK version: 3.1.0.GA\r\nDevice: Android Droid Razr, 4.1.2\r\nAndroid Emulator: Google APIs Android 4.1 [armeabi-v7a]", "updateAuthor": { "name": "owntheweb", "key": "owntheweb", "displayName": "Christopher Stevens", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-06T19:40:07.000+0000", "updated": "2013-07-06T19:40:07.000+0000" }, { "id": "260923", "author": { "name": "owntheweb", "key": "owntheweb", "displayName": "Christopher Stevens", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm also running into the same issue when making use of VideoPlayer solutions seen here:\r\nhttp://developer.appcelerator.com/question/70481/playing-youtube-using-titaniummediavideoplayer", "updateAuthor": { "name": "owntheweb", "key": "owntheweb", "displayName": "Christopher Stevens", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-06T20:04:33.000+0000", "updated": "2013-07-06T20:04:33.000+0000" }, { "id": "263986", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Tried with Google Nexus 4.3, I don't see any difference between the webview in the app and in the native browser. ", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-07-30T18:31:56.000+0000", "updated": "2013-07-30T18:31:56.000+0000" }, { "id": "294117", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "I tested this issue with the test code reporter has provided. I was not able to reproduces this issue in latest Ti SDK 3.2.1.GA. \r\n\r\n \r\nh5. Fixed Version/s \r\n\r\nTi SDK 3.2.1.GA\r\n\r\nh5. Testing Environment:\r\n\r\nTitanium SDK: 3.2.0.GA, 3.2.1.GA\r\nTitanium CLI: 3.2.0, 3.2.1\r\nAndroid 4.2.2 \r\nAppcelerator Studio, build: 3.2.1.201402061120\r\n", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2014-02-21T14:58:23.000+0000", "updated": "2014-02-21T14:58:23.000+0000" }, { "id": "297310", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This might be dependent on device codecs. It could be invalid.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-14T18:54:28.000+0000", "updated": "2014-03-14T18:54:28.000+0000" }, { "id": "300169", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is dependent on the device's supported video formats. Closing as invalid", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-08T01:02:30.000+0000", "updated": "2014-04-08T01:02:30.000+0000" }, { "id": "416301", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-29T22:40:36.000+0000", "updated": "2017-03-29T22:40:36.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }