title: How to OverRide some of the methods of VideoView of android
body: <p>Is there any Listener to override methods of Videoview like <br></p>
  
  <p>boolean  canPause()  <br>
  boolean  canSeekBackward()  <br></p>
  
  <p>boolean  canSeekForward()  <br></p>
  
  <p>int  getBufferPercentage()  <br></p>
  
  <p>int  getCurrentPosition()  <br></p>
  
  <p>int  getDuration()  <br></p>
  
  <p>boolean  isPlaying()  <br></p>
  
  <p>How to pause a video. For audio we use mediaController.setMediaPlayer. How we can use for video.</p>
  
  <p>Basically my code for playing video is like this :<br></p>
  
  <p>mediaController = new MediaController(activity); <br>
          mediaController.setMediaPlayer(videoView);  <br>
          videoView.setVideoPath(filePath);     <br><br>
          videoView.requestFocus();<br>
          videoView.start();<br>
          mediaController.show();<br>
          videoView.setMediaController(mediaController); <br> <br>
  And also I want to know what is the difference between  mediaController.setMediaPlayer <br>(videoView); and videoView.setMediaController(mediaController). <br>
  Can Anyone help me in sorting out thi issue.  <bR>
  Thanks in Advance.</p>