From 5859ae2c52a009b4c9681bc87267bb6f2a9d2b46 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Fri, 13 Jan 2023 21:34:31 -0500 Subject: [PATCH] Removing autoplay due to audio (need to figure out how to mute first) --- .../java/com/vitorpamplona/amethyst/ui/components/VideoView.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/com/vitorpamplona/amethyst/ui/components/VideoView.kt b/app/src/main/java/com/vitorpamplona/amethyst/ui/components/VideoView.kt index 74447747f..8b68aadcc 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/ui/components/VideoView.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/ui/components/VideoView.kt @@ -27,7 +27,6 @@ fun VideoView(videoUri: String) { val context = LocalContext.current val exoPlayer = ExoPlayer.Builder(LocalContext.current).build().apply { - playWhenReady = true repeatMode = Player.REPEAT_MODE_ALL videoScalingMode = C.VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING setMediaItem(MediaItem.fromUri(videoUri))