视频播放器白+黑

This commit is contained in:
liujing
2020-11-04 10:34:46 +08:00
parent a6c406d2ff
commit f02aaf75ff
2 changed files with 43 additions and 38 deletions

View File

@@ -158,10 +158,10 @@ class SimpleCoverVideoPlayer : StandardGSYVideoPlayer {
override fun onClick(v: View?) {
super.onClick(v)
Log.d("kl","onClick160"+mCurrentState)
if (mCurrentState == CURRENT_STATE_PAUSE){
Log.d("kl", "onClick160" + mCurrentState)
if (mCurrentState == CURRENT_STATE_PAUSE) {
onVideoResume()
}else if (mCurrentState == CURRENT_STATE_PLAYING){
} else if (mCurrentState == CURRENT_STATE_PLAYING) {
onVideoPause()
}
v?.let {