title: Playing youtube video in a videoview
body: <p>In my application I have a videoview and I want to play youtube videos in that.For that I tried lots of methods like</p>
  
  <pre><code>VideoView mVideoView = new VideoView(this);
  setContentView(mVideoView);
  mVideoView.setVideoURI(Uri.parse("rtsp://v3.cache7.c.youtube.com/CiILENy73wIaGQlOCTh0GvUeYRMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp"));
  mVideoView.start();
  </code></pre>
  
  <p>For this I am getting</p>
  
  <pre><code>08-13 12:33:07.443: D/MediaPlayer(618): Couldn't open file on client side, trying server side
  08-13 12:33:09.003: E/MediaPlayer(618): error (1, -2147483648)
  08-13 12:33:09.003: E/MediaPlayer(618): Error (1,-2147483648)
  </code></pre>
  
  <p>Then I tried</p>
  
  <pre><code>VideoView mVideoView = new VideoView(this);
  setContentView(mVideoView);
  mVideoView.setVideoURI(Uri.parse("vnd.youtube:GDD0Brw-udk"));
  mVideoView.start();
  </code></pre>
  
  <p>Here also I am getting the same error.</p>
  
  <p>And</p>
  
  <pre><code>startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.youtube.com/watch?v=GDD0Brw-udk&amp;feature=youtube_gdata_player")));
  </code></pre>
  
  <p>This leaves my application, and starts the mobile youtube where I have no control.</p>
  
  <p>Another method I used is</p>
  
  <pre><code>Intent lVideoIntent = new Intent(null, Uri.parse("http://www.youtube.com/get_video_info?&amp;video_id=GDD0Brw-udk")
              , this, IntroVideoActivity.class);
  startActivity(lVideoIntent); 
  </code></pre>
  
  <p>This is also not working for me..</p>
  
  <p>What should I do..Anyone help me please..Thanx in advance</p>