问题
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.
回答1:
using this code u can stop videoplayer
videoView.stopPlayback();
For further ref link
回答2:
Try this
videoView.stopPlayback();
videoView.resume();
回答3:
First Check your video is available or not then stop this video.It's better for you
if(null!=videoView){ videoView.stopPlayback(); }
来源:https://stackoverflow.com/questions/9662390/how-to-stop-video-playing-in-videoview-programmatically-in-android