opt seekbar .
This commit is contained in:
@@ -52,6 +52,7 @@ class SimpleCoverVideoPlayer : StandardGSYVideoPlayer {
|
||||
totalTime: Int
|
||||
) {
|
||||
super.setProgressAndTime(progress, secProgress, currentTime, totalTime)
|
||||
Log.e("liyz", "setProgressAndTime progress = $progress --->currentTime = $currentTime --->totalTime = $totalTime")
|
||||
if (progress != 0) {
|
||||
mProgressBar.progress = progress
|
||||
}
|
||||
@@ -128,7 +129,7 @@ class SimpleCoverVideoPlayer : StandardGSYVideoPlayer {
|
||||
v?.let {
|
||||
when (v) {
|
||||
start -> {
|
||||
Log.d("liyz", "start --------->")
|
||||
|
||||
}
|
||||
else -> {
|
||||
|
||||
@@ -137,12 +138,6 @@ class SimpleCoverVideoPlayer : StandardGSYVideoPlayer {
|
||||
}
|
||||
}
|
||||
|
||||
override fun onBufferingUpdate(percent: Int) {
|
||||
super.onBufferingUpdate(percent)
|
||||
Log.d("liyz", "onBufferingUpdate percent = " + percent)
|
||||
}
|
||||
|
||||
|
||||
override fun onPrepared() {
|
||||
super.onPrepared()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user