Package-level declarations

Types

Link copied to clipboard

MacVideoPlayerState handles the native Mac video player state.

Functions

Link copied to clipboard
@Composable
fun MacVideoPlayerSurface(playerState: MacVideoPlayerState, modifier: Modifier = Modifier, contentScale: ContentScale = ContentScale.Fit, overlay: @Composable () -> Unit = {}, isInFullscreenWindow: Boolean = false)

A Composable function that renders a video player surface for MacOS. Fills the entire canvas area with the video frame while maintaining aspect ratio.

Link copied to clipboard
@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.