title: How to play YouTube video in android?
body: <p>I have a <code>VideoView</code> and I set URI of youtube video and set <code>android.permission.INTERNET</code> but I got this message when I want to play the video .. "you can't play the video"</p>
  
  <p>this code piece for video player </p>
  
  <pre><code> mVideoView = (VideoView) findViewById(R.id.skillVideo);
              mVideoView.setVideoURI(Uri.parse("http://www.youtube.com/watch?v=1_pryg5HFYY"));
          mVideoView.setMediaController(new MediaController(this));
          mVideoView.requestFocus();
  </code></pre>
  
  <p>and this is the <code>VideoView</code> in xml layout file :</p>
  
  <pre><code>....
  
  &lt;VideoView  android:id="@+id/skillVideo" 
              android:layout_width="wrap_content"
              android:layout_height="200dp"&gt;&lt;/VideoView&gt;
  
  
  
  ....
  </code></pre>