I am developing an application that can play youtube videos in webview using iframe. my code is below:
String summary = "<iframe height='" + displayWidth + "' width='" + 800 + "' frameborder='0' src='http://www.youtube.com/embed/ZfekaIW6esA?rel=0'></iframe>"; if (flashInstalled) { mWebView.loadData(summary, "text/html", null); container.addView(mWebView); } else { alert.setMessage("Flash player is not installed on the device!"); alert.show(); }
works fine, but when I scale it and scroll it, it will overlap another layout Look at my screenshots


plz gives me the best solution for this. thanx
android youtube android-webview
Ramesh solanki
source share