How to stop video playing in VideoView programmatically in android?

Karthik picture Karthik · Mar 12, 2012 · Viewed 27.3k times · Source

I am using VideoView for playing video,I would like to stop the playing video completely.Please help me on this for solving it.Thanks.

Answer

Parag Chauhan picture Parag Chauhan · Mar 12, 2012

using this code u can stop videoplayer

videoView.stopPlayback();

For further ref link