How to show video from Youtube in my application on Android -


in application want show video youtube in app.

i wrote below code , can show video, opens youtube app.

i want show video in application, not in youtube.

how can this?

my code:

moviedetail_playtrailerlay.setvisibility(view.visible); moviedetail_playtrailerlay.setonclicklistener(new view.onclicklistener() {     @override     public void onclick(view view) {         startactivity(new intent(intent.action_view, uri.parse(movieresponse.getdata().gettrailerlink())));     } }); 

for android coding, use android studio 2.3.3


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -