Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4801] Android: Enable flashplayer settings(plugins) for webview in Android

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusReopened
ResolutionUnresolved
Affected Version/sRelease 1.7.2, Release 3.0.0
Fix Version/sn/a
ComponentsAndroid
Labelsapi, module_webview, qe-testadded
ReporterAnirudh Nagesh
AssigneeIngo Muschenetz
Created2011-07-26T17:37:18.000+0000
Updated2016-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();

Comments

  1. Alan Vaghti 2011-11-22

    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.
  2. Alan Vaghti 2011-11-22

    Same issue as above was encountered with SDK 1.8.0.v20111114103905
  3. Opie Cyrus 2011-12-30

    moving sprint so this can be re-scheduled
  4. Wilson Luu 2012-01-25

    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)
  5. Sitara Shylaja 2012-04-16

    Bug occurs on Studio - 2.0.1.201204101854 SDK - 2.0.1.v20120410103239 Nexus s 4.0.4
  6. Tamila Smolich 2012-07-25

    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
  7. Sai Suman Mallela 2014-10-30

    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??
  8. Fritz Zetik 2016-09-05

    Is there a solution?

JSON Source