launch the panorama viewer at video fragment when seekbar is pressed

This commit is contained in:
tibbi 2018-10-30 23:24:31 +01:00
parent 9e6ccbe67c
commit e42c944fda
1 changed files with 5 additions and 0 deletions

View File

@ -629,6 +629,11 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S
} }
override fun onStopTrackingTouch(seekBar: SeekBar) { override fun onStopTrackingTouch(seekBar: SeekBar) {
if (mIsPanorama) {
openPanorama()
return
}
if (mExoPlayer == null) if (mExoPlayer == null)
return return