androidx / media

Jetpack Media3 support libraries for media use cases, including ExoPlayer, an extensible media player for Android
https://developer.android.com/media/media3
Apache License 2.0
1.59k stars 377 forks source link

How to disable controls (including play bar and settings wheel) and disable interaction with the player in Jetpack Compose? #1589

Closed alghe-global closed 2 months ago

alghe-global commented 2 months ago

I've searched the web for disabling controls (all controls) of the player in an attempt to have ONLY the video playing in the background using Media3 ExoPlayer (1.4.0) in Jetpack Compose and disabling any interaction with the player in the UI, however, all I could find is how to disable rewind and forward buttons and so on, though no option for disabling interaction with the player (e.g. not show the play button, the progress bar, settings wheel etc. and also disable interaction with the player).

Any ideas how to achieve just having the video play in the background (and only that)?

alghe-global commented 2 months ago

Nevermind. Seems useController = false does it.