Skip to main content


Showing posts from March, 2014

How to play embeded youtube video on webview

In this blog i am going to explain how to play embeded Youtube video on webview. am loading the video file in  an iframe. While Loading the html page my webview is loading like,

Here is my HTML Page:  

<head> </head>
<iframe width="560" height="315" class="youtube-player" type="text/html" src="" frameborder="0" allowfullscreen>

Here the embeded video link is "". In this link "YfQW6cpRHlo" is the Id of Video file. If you want to play another video you just replace the video id on this link.

Android Code


<LinearLayout xmlns:android=""