mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-21 19:20:43 +02:00
Removing autoplay due to audio (need to figure out how to mute first)
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user