VideoPlayerSurface

@UnstableApi
@Composable
actual fun VideoPlayerSurface(playerState: VideoPlayerState, modifier: Modifier)
@Composable
expect fun VideoPlayerSurface(playerState: VideoPlayerState, modifier: Modifier)

Renders a video player surface that displays and controls video playback.

Parameters

playerState

The state of the video player, which manages playback controls, video position, volume, and other related properties.

modifier

The modifier to be applied to the video player surface for layout and styling adjustments.

actual fun VideoPlayerSurface(playerState: VideoPlayerState, modifier: <Error class: unknown class>)
@Composable
actual fun VideoPlayerSurface(playerState: VideoPlayerState, modifier: Modifier)

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

playerState

The current state of the video player, encapsulating playback state and platform-specific implementation details.

modifier

A Modifier for styling or adjusting the layout of the video player surface.

@Composable
actual fun VideoPlayerSurface(playerState: VideoPlayerState, modifier: Modifier)