Skip to content Skip to sidebar Skip to footer

Enable Flash Into A Webview Android App

I'm writing a music application and I want to integrate YouTube. I have done that but the videos can't be played so I want to enable flash on a WebView so I can watch videos from

Solution 1:

To make Flash Player work in a WebView you need to enable hardware acceleration in your androidmanifest.xml.

<applicationandroid:hardwareAccelerated="true"...>

You can also individually enable it for your WebView by using

mWebView.setLayerType(View.LAYER_TYPE_HARDWARE, null);

Post a Comment for "Enable Flash Into A Webview Android App"