Tengo el uso de Webview
para mostrar algunos datos html en mi aplicación. Estoy usando el siguiente código.Android youtube en webview
WebView featureview = (WebView) findViewById(R.id.featureview);
WebSettings webSettings = featureview.getSettings();
webSettings.setJavaScriptEnabled(true);
featureview.loadData(featureDescription, "text/html", "utf-8");
Algunos de los datos HTML ha incrustado de vídeo de youtube utilizando código como <iframe height='390' frameborder='0' width='640' allowfullscreen='' src='http://www.youtube.com/embed/8xgkw67o0Gc' title='YouTube video player'></iframe>
. Pero está dando una pantalla negra. ¿Cuál es el problema en el código? Aquí me gusta agregar que he instalado el reproductor de flash y lo estoy intentando en el dispositivo con Android 2.2.
¿Pudo resolverlo? –
También me gustaría saber si ha resuelto esto y cómo? –
Echa un vistazo a mi respuesta aquí http://stackoverflow.com/a/24592012/2371425 – Sakiboy