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:
First Check your video is available or not then stop this video.It's better for you
if(null!=videoView){ videoView.stopPlayback(); }
回答3:
Try this
videoView.stopPlayback();
videoView.resume();