Lib*_*bin 13
停止视频
// will stop and release the media player instance and move to idle state
videoView.stopPlayback()
Run Code Online (Sandbox Code Playgroud)
开始新的比赛
// 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
Run Code Online (Sandbox Code Playgroud)
暂停当前播放
// pause the video
videoView.pause() // will pause if already playing
Run Code Online (Sandbox Code Playgroud)
从当前暂停位置恢复视频
// resume the video
videoView.resume() // will resume from the last paused state
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5614 次 |
| 最近记录: |