title: How to play Video in Android on click?
body: <p>I tried playing a Video from a remote URL &amp; it works fine , the problem now is that the video starts playing automatically, I want the video to show up like a YouTube video with a play button in center &amp; on clicking that the video should play . </p>
  
  <pre><code>public class Tabs extends Activity {
  TabHost th;
  VideoView video;
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
      //Create tabs using XML 
  
      video=(VideoView) findViewById(R.id.VideoView);
      String path1="http://www.w3schools.com/html5/movie.mp4";
      MediaController mc = new MediaController(this);
      mc.setAnchorView(video);
      mc.setMediaPlayer(video);
      Uri uri=Uri.parse(path1);
      video.setMediaController(mc);
      video.setVideoURI(uri);
      video.start();
  }
  }
  </code></pre>
  
  <p>Here is my code which works perfectly fine , but the video automatically starts playing , i need it to just show the first scene like YouTube video with a play button in center &amp; on clicking that the video should start playing. Also it should show a thumbnail of the video </p>