Dave, I tried to play via mediaplayer example given in the sdk with the YouTube video url (http://in.youtube.com/watch?v=l43Bbn2Xpwk),
In mediaplayer_video.java file, path="http://in.youtube.com/watch?v=l43Bbn2Xpwk" it failed to play. Any modifications to be done in the mediaplayer to stream youtube video. But when i converted this youtube video into an mp4 or 3gp file and locally try to play, it plays fine. whats the difference between mediaplayer and videoview example given in the sdk. Thanks and Regards, HarishKumar.V On Thu, Jan 29, 2009 at 2:07 AM, Dave Sparks <[email protected]>wrote: > > If you specifically want to play a YouTube video, you need to register > as a YouTube developer to get the keys you need to access the Gdata > feeds. > > I think that the Cupcake release will support a new intent for playing > YouTube videos with the YouTube app, but it will be some time before > that feature makes it into an SDK or actual device. That would remove > the need for getting the developer keys. > > Aside from that, playing a YT video is no different than any other > HTTP streamed video. You just pass the URL through setDataSource and > the media player does the rest. > > On Jan 28, 1:42 am, harish <[email protected]> wrote: > > Dear All, > > > > Using Mediaplayer (Api Demo) example, i was able to play a local video > > file and also an video mp4 streamed over internet on my android > > emulator using sdk in my development machine. > > > > When i run an youtube video from browser running in an emulator, it > > asks for to download flash player. > > > > Is there any way to play youtube video using mediaplayer or any other > > alternative methods in android. > > > > In emulator session, is it possile to play youtube video. > > > > Guys, help me in this. any reference or example of youtube video being > > played in the emulator using sdk is available. > > > > Thanks and Regards, > > HarishKumar.V > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

