You need to understand first that youtube videos are generally in flv
format, and the SDK doesn't provide default decoders or apis to handle
such media. If you have to create your own player, then you have the
tough task of converting the flv files to other supported media and
then continue.

On Jan 4, 10:49 am, sanjay <[email protected]> wrote:
> Hi,
>
> I am able to play youtube videos by
>
> startActivity(new Intent(Intent.ACTION_VIEW, 
> Uri.parse("http://www.youtube.com/watch?v=cxLG2wtE7TM";)));
>
> But this leave my application and starts the player activity where I
> have no control, How can I play youtube videos within my activity, as
> I have to provide the user some option menu?
>
> Let me know how can I achieve this.
>
> Thanks
> Sanjay Ujjainkar

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to