diff --git a/app/src/main/java/com/owncloud/android/ui/preview/PreviewVideoFullscreenDialog.kt b/app/src/main/java/com/owncloud/android/ui/preview/PreviewVideoFullscreenDialog.kt index 3438f9d667..90407930f5 100644 --- a/app/src/main/java/com/owncloud/android/ui/preview/PreviewVideoFullscreenDialog.kt +++ b/app/src/main/java/com/owncloud/android/ui/preview/PreviewVideoFullscreenDialog.kt @@ -150,6 +150,9 @@ class PreviewVideoFullscreenDialog( } mExoPlayer.addListener(playListener) playingStateListener = playListener + + // Run once to set initial state of play or pause buttons + playListener.onIsPlayingChanged(sourceExoPlayer.isPlaying) } override fun onBackPressed() {