Commit 1dab8da3 by 万齐军

feat: 去掉视频封面

parent 400d2004
...@@ -5,7 +5,7 @@ ext { ...@@ -5,7 +5,7 @@ ext {
ydlPublishVersion = [ ydlPublishVersion = [
// -------------- 业务模块 -------------- // -------------- 业务模块 --------------
//第三步 若干 //第三步 若干
"m-confide" : "0.0.50.18", "m-confide" : "0.0.50.19",
"m-consultant" : "0.0.60.27", "m-consultant" : "0.0.60.27",
"m-fm" : "0.0.30.09", "m-fm" : "0.0.30.09",
"m-user" : "0.0.62.26", "m-user" : "0.0.62.26",
...@@ -94,7 +94,7 @@ ext { ...@@ -94,7 +94,7 @@ ext {
// -------------- 业务模块 -------------- // -------------- 业务模块 --------------
//第三步 若干 //第三步 若干
"m-confide" : "0.0.50.18", "m-confide" : "0.0.50.19",
"m-consultant" : "0.0.60.27", "m-consultant" : "0.0.60.27",
"m-fm" : "0.0.30.09", "m-fm" : "0.0.30.09",
"m-user" : "0.0.62.26", "m-user" : "0.0.62.26",
......
...@@ -293,9 +293,9 @@ internal class ItemIntroHolder(binding: ItemExpertIntroBinding) : ...@@ -293,9 +293,9 @@ internal class ItemIntroHolder(binding: ItemExpertIntroBinding) :
.subscribe { .subscribe {
val pos = (video?.mMediaPlayer as IjkMediaPlayer?)?.currentPosition ?: 0 val pos = (video?.mMediaPlayer as IjkMediaPlayer?)?.currentPosition ?: 0
if (pos > 0) { if (pos > 0) {
if (vm?.isVideo == true) { // if (vm?.isVideo == true) {
binding.ivCover.visibility = View.GONE // binding.ivCover.visibility = View.GONE
} // }
if (!isTouch) { if (!isTouch) {
binding.seekbar.progress = pos.toInt()// video.bufferPercentage binding.seekbar.progress = pos.toInt()// video.bufferPercentage
} }
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
app:layout_constraintRight_toRightOf="parent" app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<ImageView <!--<ImageView
android:id="@+id/ivCover" android:id="@+id/ivCover"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="0dp" android:layout_height="0dp"
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
app:layout_constraintBottom_toBottomOf="@+id/videoView" app:layout_constraintBottom_toBottomOf="@+id/videoView"
app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />-->
<ImageView <ImageView
android:id="@+id/ivPlay" 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