I have a fragment and a videoview is present inside that fragment.I have a you tube url for video. I tried videoview as well as webview. But it is not working. How i should play
You should use the YouTube Android Player API
It provides you with an efficient YouTube Player view (or even better - a Fragment) for embedding in your app that you can control programatically.