openFullscreenWindow

@Composable
fun openFullscreenWindow(playerState: MacVideoPlayerState, overlay: @Composable () -> Unit = {}, contentScale: ContentScale = ContentScale.Fit)

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

overlay

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.