title: Play SWF file in webViewClient on ICS?
body: <p>I tried to open an SWF file in webViewClient and it works on Android 2.1 and 2.3.3.
  But when I try to play the same SWF file on 4.0.4, it causes an error and a green screen appears in the videoPlayer page.</p>
  
  <pre><code>oWebView = (WebView) findViewById(R.id.wvhPlayer);
  oWebView.setWebViewClient(new KhWebClient());
  oWebView.getSettings().setJavaScriptEnabled(true);
  oWebView.getSettings().setPluginsEnabled(true);
  oWebView.getSettings().setAllowFileAccess(true);
  oWebView.getSettings().setBuiltInZoomControls(true);
  
  String html = " &lt;object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" width=\"100%\" height=\"100%\" id=\"vPlayer\" align=\"middle\"&gt;"
              + " &lt;param name=\"movie\" value=\"http://mysite.com/sites/all/modules/player/player.swf?id=0CYj9tI0hpQ"
              + "\" /&gt;"
              + "  &lt;param name=\"quality\" value=\"high\" /&gt;"
              + " &lt;param name=\"bgcolor\" value=\"#000000\" /&gt;"
              + " &lt;param name=\"play\" value=\"true\" /&gt;"
              + " &lt;param name=\"loop\" value=\"true\" /&gt;"
              + " &lt;param name=\"wmode\" value=\"window\" /&gt;"
              + " &lt;param name=\"scale\" value=\"showall\" /&gt;"
              + " &lt;param name=\"menu\" value=\"true\" /&gt;"
              + " &lt;param name=\"devicefont\" value=\"false\" /&gt;"
              + " &lt;/object&gt;";
  
  oWebView.loadDataWithBaseURL("null", html, "text/html", "utf-8", null);
  </code></pre>