openFullscreenView

fun openFullscreenView(playerState: VideoPlayerState, renderSurface: (VideoPlayerState, ERROR CLASS: Symbol not found for 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