I have using Webview
to display some html data in my app. I am using the following code.
WebView featureview = (WebView) findViewById(R.id.featureview);
WebSettings webSettings = featureview.getSettings();
webSettings.setJavaScriptEnabled(true);
featureview.loadData(featureDescription, "text/html", "utf-8");
Some of the html data has embedded video from youtube using code like <iframe height='390' frameborder='0' width='640' allowfullscreen='' src='http://www.youtube.com/embed/8xgkw67o0Gc' title='YouTube video player'></iframe>
. But it is giving black screen. what is the problem in code? Here I like to add I have installed the flash player and I am trying in in Android 2.2 device.