Skip to content

Commit

Permalink
Update GSYVideoHelper.java
Browse files Browse the repository at this point in the history
  • Loading branch information
fenghebaiyang authored Dec 19, 2018
1 parent 72b00ea commit 95ca03d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ public void run() {
mGsyVideoPlayer.getFullscreenButton().setImageResource(mGsyVideoPlayer.getEnlargeImageRes());
mGsyVideoPlayer.getBackButton().setVisibility(View.GONE);
mGsyVideoPlayer.setIfCurrentIsFullscreen(false);
mGsyVideoPlayer.restartTimerTask();
if (mVideoOptionBuilder.getVideoAllCallBack() != null) {
Debuger.printfLog("onQuitFullscreen");
mVideoOptionBuilder.getVideoAllCallBack().onQuitFullscreen(mVideoOptionBuilder.getUrl(), mVideoOptionBuilder.getVideoTitle(), mGsyVideoPlayer);
Expand Down Expand Up @@ -318,6 +319,7 @@ public void run() {
}
}
mGsyVideoPlayer.setIfCurrentIsFullscreen(true);
mGsyVideoPlayer.restartTimerTask();
if (mVideoOptionBuilder.getVideoAllCallBack() != null) {
Debuger.printfLog("onEnterFullscreen");
mVideoOptionBuilder.getVideoAllCallBack().onEnterFullscreen(mVideoOptionBuilder.getUrl(), mVideoOptionBuilder.getVideoTitle(), mGsyVideoPlayer);
Expand Down

0 comments on commit 95ca03d

Please sign in to comment.