Package-level declarations
Types
Manages fullscreen functionality for the video player
Represents the initial state of the player after opening a media file or URI.
Defines a platform-specific video player state interface, providing the essential properties and operations needed for video playback management.
Represents metadata information of a video file.
Represents different types of errors that can occur during video playback in a video player.
Represents the state and controls for a video player. This class provides properties and methods to manage video playback, including play, pause, stop, seeking, and more. It maintains information about the playback state, such as whether the video is currently playing, volume levels, and playback position.
Represents the state and behavior of a video player. This class provides properties and methods to control video playback, manage the playback state, and interact with platform-specific implementations.
Implementation of VideoPlayerState for WebAssembly/JavaScript platform. Manages the state of a video player including playback controls, media information, and error handling.
Functions
Opens a fullscreen view for the video player on iOS. This function is called when the user toggles fullscreen mode.
Creates and manages an instance of VideoPlayerState within a composable function, ensuring proper disposal of the player state when the composable leaves the composition. This function is used to remember the video player state throughout the composition lifecycle.
Converts a PlatformFile to a URI string that can be used by the media player.
Renders a video player surface that displays and controls video playback.
Composable function for rendering a video player surface.