Learn how to display custom error UI when playback fails in the FastPix Flutter Player.
The FastPix Flutter Player lets you define an errorWidgetBuilder to show meaningful messages and visuals when errors occur during playback.
Pass an errorWidgetBuilder to the FastPixPlayer widget. The builder receives the error message as a string and returns a widget to display:
You can also check the player state programmatically to detect errors: