[TIMOB-4801] Android: Enable flashplayer settings(plugins) for webview in Android
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Reopened |
Resolution | Unresolved |
Affected Version/s | Release 1.7.2, Release 3.0.0 |
Fix Version/s | n/a |
Components | Android |
Labels | api, module_webview, qe-testadded |
Reporter | Anirudh Nagesh |
Assignee | Ingo Muschenetz |
Created | 2011-07-26T17:37:18.000+0000 |
Updated | 2016-09-05T13:17:44.000+0000 |
Description
Run the code below in app.js. The youtube video cannot be played inside the webview. Instead Ti.Platform.openURL has to be used.
Titanium.UI.setBackgroundColor('#000000');
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#000000'
});
var webview = Ti.UI.createWebView({url:'http://www.youtube.com/embed/US7xaxyFETI?rel=0'});
win1.add(webview);
//Ti.Platform.openURL('http://www.youtube.com/embed/US7xaxyFETI?rel=0'); // use this to play the video
win1.open();
Tested with HTC Evo 4G 2.3.3 and Nexus One 2.2.2 with SDK 1.8.0.1.v20111122105459. I couldn't get the video to load or play on either device. On startup, an image of the video appeared with a play button over. When the play button is pressed, the video never loads (the progress bar moves). Thoughts?? EDIT: I had the same issue with TIMOB-1607. The link to the video works fine in a browser.
Same issue as above was encountered with SDK 1.8.0.v20111114103905
moving sprint so this can be re-scheduled
Bug still persists on: SDK build: 1.8.1.v20120124200134 Runtime: v8 OS: Mac OS X Lion (10.7.2) Titanium Studio, build: 1.0.8.201201210622 Device: Droid 1 (2.2.3)
Bug occurs on Studio - 2.0.1.201204101854 SDK - 2.0.1.v20120410103239 Nexus s 4.0.4
The issue still exists on: Titanium Studio, build: 2.1.1.201207171343 Titanium SDK: 2.1.1.v20120723131610 Device: Samsung Galaxy tab 3.2; Nexus S
The issues still exists on: Titanium SDK: 3.3.0.GA Titanium Studio, build: 3.4.0 GA Device: Samsung Galaxy tab 3.2; Nexus 5 (All Android Devices) Is there a solution coming up??
Is there a solution?