Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to play video from my youtube account in android

I want want to play video from my personal account in you tube.

  Intent videoClient = new Intent(Intent.ACTION_VIEW);
  videoClient.setData(Uri.parse("http://www.youtube.com"));
  videoClient.setClassName("com.google.android.youtube","com.google.android.youtube.PlayerActivity");
   startActivity(videoClient);

this code use for only play video in youtube. I want to play video into MY personal account in youtube.. I'm also log in in youtube.I have created my account in youtube and add video in my youtube account... question is this "how to play video on my youtube account"

like image 548
Akash Singh Avatar asked Nov 27 '25 13:11

Akash Singh


1 Answers

For playing video from your youtube channel(account) you want to get rtsp URL of your video. And for complete example click here.

like image 100
Hardik Joshi Avatar answered Nov 30 '25 04:11

Hardik Joshi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!