diff --git a/app/src/main/java/com/owncloud/android/ui/preview/PreviewMediaFragment.kt b/app/src/main/java/com/owncloud/android/ui/preview/PreviewMediaFragment.kt index 57df4dd3eed3..e0e5da728684 100644 --- a/app/src/main/java/com/owncloud/android/ui/preview/PreviewMediaFragment.kt +++ b/app/src/main/java/com/owncloud/android/ui/preview/PreviewMediaFragment.kt @@ -574,9 +574,8 @@ class PreviewMediaFragment : FileFragment(), OnTouchListener, Injectable { } override fun onPause() { - mediaPlayerServiceConnection?.pause() exoPlayer?.pause() - + releaseVideoPlayer() super.onPause() }