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
      • Secure video playback
      • Play DRM-protected content
      • Use a custom domain
      • Switch audio tracks
      • Switch subtitle tracks
      • Add seek preview thumbnails
      • Enable Picture-in-Picture
      • Enable full-screen mode
      • Manage playlists
      • Add skip controls
      • Handle network changes
  • Flutter player
    • Install FastPix Flutter player
    • Play uploaded videos
    • Handle playback errors
LogoLogo
StatusSupportDiscussionsLog inSign Up
On this page
  • Enable spritesheet preview
  • Get the preview during scrubbing
  • Secured content support
iOS playerAdvanced features

Add seek preview thumbnails

Was this page helpful?
Previous

Enable Picture-in-Picture

Next
Built with

Learn how to show spritesheet-based thumbnail previews while scrubbing the seek bar in the FastPix iOS Player.

The FastPix iOS Player supports spritesheet-based thumbnail previews that appear when a user scrubs through the seek bar. If a thumbnail isn’t available, the SDK falls back to showing a timestamp.

Enable spritesheet preview

1let previewConfig = FastPixSeekPreviewConfig()
2
3playerViewController.loadSpritesheet(
4 url: nil,
5 previewEnable: true,
6 config: previewConfig
7)
8
9playerViewController.setFallbackMode(.timestamp)

Get the preview during scrubbing

Retrieve the thumbnail for a given time and pass it to the seek bar:

1let result = playerViewController.fastpixThumbnailForPreview(at: time)
2
3seekBar.updatePreviewThumbnail(
4 result.image,
5 time: time,
6 useTimestamp: result.useTimestamp
7)

Secured content support

Spritesheet previews work with both private (token-protected) and DRM-protected (FairPlay) streams. The SDK handles secure fetching and rendering of spritesheet assets without exposing protected URLs.

Note: The SDK automatically falls back to timestamp display if a thumbnail isn’t available for the current position. Spritesheet previews work with playlists and custom seek bars.