Control video playback
Learn how to use play, pause, seek, volume, and state controls in the FastPix Flutter Player.
The FastPixPlayerController provides methods for managing playback. All methods are available after calling initialize().
Play, pause, and seek
Set volume
Set the player volume on a scale from 0.0 (silent) to 1.0 (maximum):
Query playback state
Check the current state and position:
Player states
The player can be in any of these states:
Clean up resources
Always dispose the controller when the widget is removed: