Video Player Surface
Renders a video player surface that displays and controls video playback.
Parameters
The state of the video player, which manages playback controls, video position, volume, and other related properties.
The modifier to be applied to the video player surface for layout and styling adjustments.
Controls how the video content should be scaled inside the surface. This affects how the video is displayed when its dimensions don't match the surface dimensions.
Optional composable content to be displayed on top of the video surface. This can be used to add custom controls, information, or any UI elements.
Composable function for rendering a video player surface.
The function delegates the rendering logic to specific platform-specific implementations based on the type of the delegate within the provided VideoPlayerState.
Parameters
The current state of the video player, encapsulating playback state and platform-specific implementation details.
A Modifier for styling or adjusting the layout of the video player surface.
Controls how the video content should be scaled inside the surface. This affects how the video is displayed when its dimensions don't match the surface dimensions.
Optional composable content to be displayed on top of the video surface. This can be used to add custom controls, information, or any UI elements.