Avoids videos getting out of the current page and leaking into the next page.
This commit is contained in:
@@ -127,7 +127,7 @@ fun VideoView(videoUri: Uri, description: String? = null, onDialog: ((Boolean) -
|
|||||||
)
|
)
|
||||||
controllerAutoShow = false
|
controllerAutoShow = false
|
||||||
hideController()
|
hideController()
|
||||||
resizeMode = AspectRatioFrameLayout.RESIZE_MODE_FIXED_WIDTH
|
resizeMode = AspectRatioFrameLayout.RESIZE_MODE_FIT
|
||||||
onDialog?.let { innerOnDialog ->
|
onDialog?.let { innerOnDialog ->
|
||||||
setFullscreenButtonClickListener {
|
setFullscreenButtonClickListener {
|
||||||
exoPlayer.pause()
|
exoPlayer.pause()
|
||||||
|
|||||||
Reference in New Issue
Block a user