Skip to content
New issue

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

Bug # resolveNormalVideoShow line 366 没判断mFullscreenButton != null #1919

Closed
miniframework opened this issue Mar 27, 2019 · 1 comment
Closed

Comments

@miniframework
Copy link

自定义布局

@OverRide
public int getLayoutId() {
return R.layout.myvideo; //myvideo 去掉了全屏按钮。 full
}

设置点击屏幕全屏

startWindowFullscreen 里面判断了 mFullscreenButton != null

再次点击退出全屏onBackFullscreen --》 resolveNormalVideoShow 里面没判断
mFullscreenButton ==null

getFullscreenButton().setImageResource(getEnlargeImageRes());

导致null

@CarGuo
Copy link
Owner

CarGuo commented Mar 27, 2019

收到

@CarGuo CarGuo closed this as completed in 52fc8da Apr 1, 2019
hudawei996 pushed a commit to hudawei996/GSYVideoPlayer that referenced this issue Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants