kopia lustrzana https://github.com/vitorpamplona/amethyst
Removing autoplay due to audio (need to figure out how to mute first)
rodzic
66cfa9201c
commit
5859ae2c52
|
@ -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))
|
||||
|
|
Ładowanie…
Reference in New Issue