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!!.setSeekParameters(SeekParameters.CLOSEST_SYNC)
|
||||
initExoPlayerListeners()
|
||||
|
||||
medium.path.getVideoResolution()?.apply {
|
||||
|
|
Loading…
Reference in a new issue