Commit 1dab8da3 by 万齐军

feat: 去掉视频封面

parent 400d2004
......@@ -5,7 +5,7 @@ ext {
ydlPublishVersion = [
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.50.18",
"m-confide" : "0.0.50.19",
"m-consultant" : "0.0.60.27",
"m-fm" : "0.0.30.09",
"m-user" : "0.0.62.26",
......@@ -94,7 +94,7 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.50.18",
"m-confide" : "0.0.50.19",
"m-consultant" : "0.0.60.27",
"m-fm" : "0.0.30.09",
"m-user" : "0.0.62.26",
......
......@@ -293,9 +293,9 @@ internal class ItemIntroHolder(binding: ItemExpertIntroBinding) :
.subscribe {
val pos = (video?.mMediaPlayer as IjkMediaPlayer?)?.currentPosition ?: 0
if (pos > 0) {
if (vm?.isVideo == true) {
binding.ivCover.visibility = View.GONE
}
// if (vm?.isVideo == true) {
// binding.ivCover.visibility = View.GONE
// }
if (!isTouch) {
binding.seekbar.progress = pos.toInt()// video.bufferPercentage
}
......
......@@ -28,7 +28,7 @@
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
<!--<ImageView
android:id="@+id/ivCover"
android:layout_width="0dp"
android:layout_height="0dp"
......@@ -36,7 +36,7 @@
app:layout_constraintBottom_toBottomOf="@+id/videoView"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
app:layout_constraintTop_toTopOf="parent" />-->
<ImageView
android:id="@+id/ivPlay"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment