Add skip controls
Learn how to add OTT-style skip controls (Skip Intro, Skip Song, Skip Credits) to the FastPix iOS Player.
The FastPix iOS Player SDK supports time-based skip segments that let users skip intros, songs, and credits during playback. The SDK manages skip logic and timing—you’re responsible for rendering the skip UI.
Key behaviors
- Skip segments can be configured per playlist item.
- The SDK automatically validates and applies skip ranges during playback.
- Skip button visibility is managed based on the current playback time.
- Skip state resets automatically during playlist transitions.
- Fully compatible with custom player UIs.
Configure skip segments
Define skip segments when creating a playlist item:
Initialize the skip manager
Initialize the skip manager after the player is ready. This is recommended inside viewDidAppear:
Handle skip button visibility
The SDK calls this delegate method when playback enters or exits a skip segment:
Note: The SDK manages skip logic and timing. You’re responsible for rendering the skip button UI.