继续这个话题:
How to stop video playing in VideoView programmatically in android?
stopPlayback 后如何恢复播放?
最佳答案
停止视频
// will stop and release the media player instance and move to idle state
videoView.stopPlayback()
开始新的游戏
// fist set video path
videoView.setVideoPath("path"); // will release the previous media player instance if any
videoView.start() // will start if not in prepare/error state
暂停当前播放
// pause the video
videoView.pause() // will pause if already playing
从当前暂停位置恢复视频
// resume the video
videoView.resume() // will resume from the last paused state
关于android - stopPlayback 后如何恢复播放? (安卓),我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/22744692/