Windows Video Player State
Windows implementation of the video player state. Handles media playback using Media Foundation on Windows platform.
Properties
Returns the total duration of the video as a formatted string.
Callback invoked when playback reaches the end of the media. Only called when loop is false. May be invoked from a background thread.
Returns the current playback position as a formatted string.
Denotes whether the user is manually adjusting the playback position.
Functions
Clears the shared video cache, removing all cached media data from disk.
Opens a media file bundled with the application.
Opens a media file or URL for playback
Commits the seek after a user-driven seek interaction. Performs the actual seek on the player and ends the dragging state.
Begins a user-driven seek interaction (e.g. slider drag). Updates the visual slider position without performing the actual seek on the player. Must be followed by seekFinished to commit the seek.
Toggles the fullscreen state of the video player