mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2025-01-31 12:16:44 +01:00
allow faster video seeking by dragging the bottom seekbar
This commit is contained in:
parent
bb7a911df1
commit
2ef019990b
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue