1

I used this code to play youtube video using native youtube app.

startActivity(new Intent(Intent.ACTION_VIEW,Uri.parse("vnd.youtube:zAhzo0JCbFY")).putExtra("force_fullscreen",true));

It works fine. But thing is its a clickable video like this:

http://www.youtube.com/watch?v=zAhzo0JCbFY

Youtube app doesn't allow the links to be clicked. Is there anything to be done(only with native youtube app)?

Seshu Vinay
  • 12,984
  • 8
  • 56
  • 106

2 Answers2

1

SORRY

The only thing you can do is to wait for the YouTube app to implement this.

BUT

You can find some alternative, including showing the video in a webview (if you manage), showing the links natively (if you have them), or just using the browser.

In all these cases, it is not the Youtube app.

Sherif elKhatib
  • 44,650
  • 15
  • 84
  • 105
  • So I will be waiting for youtube app to implement this. I don't have any links. Actually they are not static links... Videos change dynamically – Seshu Vinay Mar 13 '13 at 03:53
0

You can do this by using <intent-filter>. I do not now the exact procedure but this explains it well.

Community
  • 1
  • 1
Simon Zettervall
  • 1,724
  • 1
  • 15
  • 31