Package-level declarations

Types

Link copied to clipboard

Windows implementation of the video player state. Handles media playback using Media Foundation on Windows platform.

Functions

Link copied to clipboard
@Composable
fun openFullscreenWindow(playerState: WindowsVideoPlayerState, contentScale: ContentScale = androidx.compose.ui.layout.ContentScale.Fit, overlay: @Composable () -> Unit = {})

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

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

A composable function that provides a surface for rendering video frames within the Windows video player. It adjusts to size changes and ensures the video is displayed properly with respect to its aspect ratio.