[window焦点变化不自动播放视频]
This commit is contained in:
yangyakun
2023-08-03 11:22:55 +08:00
committed by zhongchao
parent 549a368bfd
commit fd4f1783fc

View File

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