[android-developers] Re: reg playing youtube videos in android

2009-06-08 Thread manoj
Hi friends, Could we show an alert when playing via YouTube the first time to set the YouTube player default? 'This channel will be played using the YouTube player. Please select the 'Youtube' option and check 'Use by default' I can show an alert, but my app shows every time when i am trying to

[android-developers] Re: reg playing youtube videos in android

2009-06-06 Thread manoj
Hi, I want to go with the code specified in the following link http://groups.google.com/group/android-developers/browse_thread/thread/8b316e5a3b4805b4/afacc50dc61c0bbf?lnk=gstq=play+youtube+%2B+android#afacc50dc61c0bbf But I want always the youtube url should be played in default yutube player

[android-developers] Re: reg playing youtube videos in android

2009-06-06 Thread Brian Conrad
From my experiments the MediaPlayer only seems to handle 3GPP format well though somewhat. Now I'm only running the emulator on a 2.4 ghz machine on Ubuntu which may not be fast enough to process video. I had similar results on an 3.4 ghz XP Pro machine. I may install the SDK on a Vista

[android-developers] Re: reg playing youtube videos in android

2009-06-06 Thread brianjtools
Actually I meant the VideoViewDemo. It should read like this: mVideoView.setVideoPath(path); mVideoView.setMediaController(new MediaController(this)); mVideoView.requestFocus(); mVideoView.start(); // add this line to play BTW, anyone know why I'm not seeing