Learn how to show spritesheet-based thumbnail previews during seek bar scrubbing in the FastPix Android Player.
Seek preview shows thumbnail previews while the user scrubs the seek bar. The SDK resolves spritesheets automatically for FastPix streams using the URL pattern https://images.fastpix.com/{playbackId}/spritesheet.json.
Configure seek preview when building the player:
If the spritesheet doesn’t exist, or the media is not a FastPix stream, the SDK falls back:
TIMESTAMP: Shows a time label (for example, "02:30"). SpritesheetMetadata.bitmap may be null.NONE: Shows nothing.Wire the preview to your SeekBar’s touch events:
If you’re building a custom preview UI, you can request bitmaps directly from a coroutine: