openFullscreenWindow

@Composable
fun openFullscreenWindow(playerState: PlatformVideoPlayerState, renderSurface: @Composable (PlatformVideoPlayerState, Modifier, Boolean) -> Unit)

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

Parameters

playerState

The player state to use in the fullscreen window

renderSurface

A composable function that renders the video player surface