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
UniversalVideoView line 844 mMediaController.toggleButtons(fullscreen); 这里mMediaController有可能为null 具体场景:有些页面需要播放视频,有些页面不需要.通过是否有是否有视频url决定是否隐藏播放器.当隐藏播放器时,mMediaController值并没有被设置,当屏幕选择时,mMediaController为null,导致程序崩溃.
mMediaController.toggleButtons(fullscreen);
The text was updated successfully, but these errors were encountered:
@liongoodvery 你可以在应用层作一些防御性检查
Sorry, something went wrong.
No branches or pull requests
UniversalVideoView line 844
mMediaController.toggleButtons(fullscreen);
这里mMediaController有可能为null
具体场景:有些页面需要播放视频,有些页面不需要.通过是否有是否有视频url决定是否隐藏播放器.当隐藏播放器时,mMediaController值并没有被设置,当屏幕选择时,mMediaController为null,导致程序崩溃.
The text was updated successfully, but these errors were encountered: