WebView will not play embedded flash video

I am testing a Xoom device with OS 3.2. The project is built (in Eclipse) using the 3.1 library.

I have the latest flash installed, and the built-in flash works fine in my browser.

If I create an action like this:

WebView browser = (WebView) findViewById(R.id.browserView);
browser .getSettings().setJavaScriptEnabled(true);
browser .getSettings().setPluginsEnabled(true);
browser .loadUrl("http://m.kongregate.com/games/Jiggmin/the-game-of-disorientation-mobile");

Then I hear the sound played for the flash, but it appears as a white box.

Similarly, any other page with a built-in flash has the same problem. I also tried to create a line containing static HTML content and load it into the browser ... but it has the same problem.

I read every solution I could find on the Internet, from setting the view to invisible, to calling the onPageFinish event, extending the WebView class, and improving it. I tried to flip, invoke hidden properties in WebView settings to enable flash, etc. Nothing works.

Please, help!

Thank,

Mat

+5
source share
1 answer

All Articles