openFullscreenView

@Composable
fun openFullscreenView(playerState: VideoPlayerState, renderSurface: @Composable (VideoPlayerState, Modifier, Boolean) -> Unit)

Opens a fullscreen view for the video player on iOS. This function is called when the user toggles fullscreen mode.

Parameters

playerState

The player state to use in the fullscreen view

renderSurface

A composable function that renders the video player surface