ExoPlayerView
A Composable function that displays an ExoPlayer PlayerView.
Parameters
The Player instance to be attached to the PlayerView.
The Modifier to apply to this layout.
Whether to display playback controls.
Whether the controls should be shown automatically when the playback starts, pauses, ends or fails.
Whether to display the "next" button in the controller.
Whether to display the "previous" button in the controller.
Specifies when to display the buffering indicator.
Specifies how the video content should be resized to fit the PlayerView.
An optional ErrorMessageProvider to customize error messages displayed during playback failures.
An optional PlayerView.FullscreenButtonClickListener to handle clicks on the fullscreen button.
An optional PlayerView.ControllerVisibilityListener to receive callbacks when the controller's visibility changes.
The color of the shutter (background) when the video is not playing.