We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
case ConstantKeys.CurrentState.STATE_COMPLETED: playStateString = "buffered"; break; case ConstantKeys.CurrentState.STATE_BUFFERING_PLAYING: playStateString = "playback completed"; break;
/** * 视频播放完成回调 */ @OverRide public void onCompletion() { mPlayerContainer.setKeepScreenOn(false); mCurrentPosition = 0; if (mProgressManager != null) { //播放完成,清除进度 mProgressManager.saveProgress(mUrl, 0); } setPlayState(ConstantKeys.CurrentState.STATE_BUFFERING_PLAYING); VideoPlayerConfig config = com.honda.thridlibrary.ycvideoplayer.video.player.VideoViewManager.getConfig(); if (config!=null && config.mBuriedPointEvent!=null){ //视频播放完成 config.mBuriedPointEvent.playerCompletion(mUrl); } }
The text was updated successfully, but these errors were encountered:
自信点,确实状态回调错了,不过将错就错了
Sorry, something went wrong.
No branches or pull requests
/**
* 视频播放完成回调
*/
@OverRide
public void onCompletion() {
mPlayerContainer.setKeepScreenOn(false);
mCurrentPosition = 0;
if (mProgressManager != null) {
//播放完成,清除进度
mProgressManager.saveProgress(mUrl, 0);
}
setPlayState(ConstantKeys.CurrentState.STATE_BUFFERING_PLAYING);
VideoPlayerConfig config = com.honda.thridlibrary.ycvideoplayer.video.player.VideoViewManager.getConfig();
if (config!=null && config.mBuriedPointEvent!=null){
//视频播放完成
config.mBuriedPointEvent.playerCompletion(mUrl);
}
}
The text was updated successfully, but these errors were encountered: