mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 07:50:31 +05:30
seekbutton bug
This commit is contained in:
parent
843721e8ac
commit
fca1048983
@ -279,6 +279,8 @@ class PlayerFragment : Fragment() {
|
||||
.setSubtitleConfigurations(subtitle)
|
||||
.build()
|
||||
exoPlayer = ExoPlayer.Builder(view.context)
|
||||
.setSeekBackIncrementMs(5000)
|
||||
.setSeekForwardIncrementMs(5000)
|
||||
.build()
|
||||
exoPlayerView.setShowSubtitleButton(true)
|
||||
exoPlayerView.setShowNextButton(false)
|
||||
|
@ -206,20 +206,18 @@
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:background="?attr/colorSurface"
|
||||
/>
|
||||
android:background="?attr/colorSurface" />
|
||||
|
||||
<com.github.libretube.CustomExoPlayerView
|
||||
android:id="@+id/player"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:background="#000000"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintBottom_toBottomOf="@id/main_container"
|
||||
app:layout_constraintStart_toStartOf="@id/main_container"
|
||||
app:layout_constraintTop_toTopOf="@id/main_container"
|
||||
app:show_buffering="always"
|
||||
android:background="?attr/colorSurface"
|
||||
/>
|
||||
app:show_buffering="always" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/close_imageView"
|
||||
|
Loading…
x
Reference in New Issue
Block a user