Avoids videos getting out of the current page and leaking into the next page.

This commit is contained in:
Vitor Pamplona
2023-05-02 15:45:32 -04:00
parent a71679ef43
commit 0bf80e88ce
@@ -127,7 +127,7 @@ fun VideoView(videoUri: Uri, description: String? = null, onDialog: ((Boolean) -
)
controllerAutoShow = false
hideController()
resizeMode = AspectRatioFrameLayout.RESIZE_MODE_FIXED_WIDTH
resizeMode = AspectRatioFrameLayout.RESIZE_MODE_FIT
onDialog?.let { innerOnDialog ->
setFullscreenButtonClickListener {
exoPlayer.pause()