提交 c93f9e0b 编写于 作者: G guoshuyu

fix startAfterPrepared

上级 72b00ea7
......@@ -852,6 +852,11 @@ public abstract class GSYVideoControlView extends GSYVideoView implements View.O
mVideoAllCallBack.onClickResume(mOriginUrl, mTitle, this);
}
}
if (!mHadPlay && !mStartAfterPrepared) {
startAfterPrepared();
}
try {
getGSYVideoManager().start();
} catch (Exception e) {
......
......@@ -582,6 +582,7 @@ public abstract class GSYVideoView extends GSYTextureRenderView implements GSYMe
if (!mStartAfterPrepared) {
setStateAndUi(CURRENT_STATE_PAUSE);
onVideoPause();//todo 加上这个
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册