I have a webview which loads a website with some thumbnail of youtube video, I dont have any control to edit that webpage, now what I want to do is if user clicks the video thumbnail then the video will be played in a default video player of that device or in a new landscape activity as default youtube application do, as far as I did it opens the video in that webview but I want to open that in a video player, any help?
Asked
Active
Viewed 799 times
2 Answers
0
Open a new Intent. In that open a media player and get the video of you tube there and try to stop the webview video and do loading in the background. You can get more help here WebView NOT opening android default video player? .