Package-level declarations
Types
Functions
Link copied to clipboard
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
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.