For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
StatusSupportDiscussionsLog inSign Up
Docs HomeAPI ReferenceVideo on DemandAI FeaturesLive StreamingVideo PlayerVideo DataCloud PlayoutRecipes
Docs HomeAPI ReferenceVideo on DemandAI FeaturesLive StreamingVideo PlayerVideo DataCloud PlayoutRecipes
  • Player SDKs
    • Introduction
  • Web player
    • Install the FastPix web player
    • Play uploaded videos
    • Handle playback errors
  • Android player
    • Install FastPix Android player
    • Set up the player
    • Play uploaded videos
    • Handle playback errors
  • iOS player
    • Install FastPix iOS player
    • Play uploaded videos
    • Handle playback errors
      • Build a custom player UI
      • Add a custom seek bar
      • Add forward and rewind controls
      • Handle orientation changes
  • Flutter player
    • Install FastPix Flutter player
    • Play uploaded videos
    • Handle playback errors
LogoLogo
StatusSupportDiscussionsLog inSign Up
On this page
  • Configure seek buttons
  • Behavior and state handling
iOS playerPlayer UI

Add forward and rewind controls

Was this page helpful?
Previous

Handle orientation changes

Next
Built with

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.