Windows Video Player Surface
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.
Parameters
The state of the Windows video player, used to manage video playback and rendering.
The modifier to be used to adjust the layout or styling of the composable.
Controls how the video content should be scaled inside the surface. This affects how the video is displayed when its dimensions don't match the surface dimensions.
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.
Whether this surface is already being displayed in a fullscreen window.