[window焦点变化不自动播放视频]
This commit is contained in:
yangyakun
2023-08-03 11:22:55 +08:00
parent e308f5d81f
commit 2311d4d406

View File

@@ -155,7 +155,7 @@ class ConsultVideoPlayer : StandardGSYVideoPlayer {
super.onWindowFocusChanged(hasWindowFocus)
if(isIfCurrentIsFullscreen&&smalllPlayer!=null){
if(hasWindowFocus){//获取焦点
onVideoResume()
//onVideoResume()
}else{
onVideoPause()
}