Add forward and rewind controls

Learn how to configure forward and rewind seek buttons in the FastPix iOS Player.

The FastPix iOS Player SDK provides forward and rewind controls that integrate with AVPlayer and custom player UIs. These controls work reliably alongside a custom seek bar, gestures, and auto-hide logic.

Configure seek buttons

Enable forward and rewind buttons and set their seek increments separately for portrait and landscape modes:

1playerViewController.configureSeekButtons(
2 enablePortrait: true,
3 enableLandscape: true,
4 forwardIncrement: 10, // Seconds to skip forward
5 backwardIncrement: 10 // Seconds to skip backward
6)

Behavior and state handling

The forward and rewind controls follow these rules:

  • Actions are fully synchronized with the player’s internal playback state.
  • Controls are automatically disabled during active seek bar scrubbing to prevent conflicting seek operations.
  • Auto-hide logic pauses during forward/rewind interactions and resumes afterward.
  • Controls remain visible while the user interacts with forward or rewind buttons.
  • Controls work consistently across play, pause, buffering, playback end, full-screen, inline, and Picture-in-Picture (PiP) modes.