mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
allow faster video seeking by dragging the bottom seekbar
This commit is contained in:
@ -115,6 +115,7 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S
|
|||||||
}
|
}
|
||||||
|
|
||||||
mExoPlayer = ExoPlayerFactory.newSimpleInstance(context, DefaultTrackSelector())
|
mExoPlayer = ExoPlayerFactory.newSimpleInstance(context, DefaultTrackSelector())
|
||||||
|
mExoPlayer!!.setSeekParameters(SeekParameters.CLOSEST_SYNC)
|
||||||
initExoPlayerListeners()
|
initExoPlayerListeners()
|
||||||
|
|
||||||
medium.path.getVideoResolution()?.apply {
|
medium.path.getVideoResolution()?.apply {
|
||||||
|
Reference in New Issue
Block a user