加载的SWF到的WebView加载、SWF、WebView

2023-09-12 00:17:04 作者:爱到七分就够了

我有问题,与此有关。如果我在浏览器中去的SWF直接,它工作正常。如果我尝试使用使用loadURL在一个SWF文件,它保持空白并加载什么。

I'm having problems with this. If I go to an SWF directly in the browser, it works fine. If I attempt to use loadUrl on an SWF file it stays blank and loads nothing.

推荐答案

想通了。您必须启用插件。

Figured it out. You have to enable plugins.

webview.getSettings().setPluginsEnabled(true);