[M2-P v1.0.0]宣传视频全屏播放(拉伸铺满)

This commit is contained in:
pangfan
2023-03-01 15:41:52 +08:00
parent c33b2bae36
commit 71a7674bfb

View File

@@ -3,6 +3,7 @@ package com.mogo.och.bus.passenger.ui.widget.video
import android.content.Context
import android.util.AttributeSet
import com.shuyu.gsyvideoplayer.utils.Debuger
import com.shuyu.gsyvideoplayer.utils.GSYVideoType
import com.shuyu.gsyvideoplayer.video.StandardGSYVideoPlayer
/**
@@ -16,6 +17,7 @@ class AdvanceGSYVideoPlayer: StandardGSYVideoPlayer {
init {
hideWidget()
GSYVideoType.setShowType(com.shuyu.gsyvideoplayer.utils.GSYVideoType.SCREEN_MATCH_FULL)
}
override fun hideAllWidget() {