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
      • Autoplay, loop, and mute
      • Control playback speed
      • Set the volume preference
      • Control playback resolution
      • Set the playback start point
      • Set the seek duration
      • Manage audio and subtitles
      • Add seek preview thumbnails
      • Add chapters to the video timeline
      • Listen to player events
      • Cast to Chromecast (Beta)
  • 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
  • Flutter player
    • Install FastPix Flutter player
    • Play uploaded videos
    • Handle playback errors
LogoLogo
StatusSupportDiscussionsLog inSign Up
On this page
  • How timeline hover previews work
  • Implementation
  • Example usage
Web playerPlayback

Add seek preview thumbnails

Was this page helpful?
Previous

Add chapters to the video timeline

Next
Built with

Add interactive timeline hover previews to FastPix Player using spritesheets for better navigation.

Timeline hover previews are a standout feature of the FastPix Player, that can improve the viewer’s experience by offering visual context as they navigate the video timeline. With these previews, users can hover their cursor over the timeline and see a small thumbnail of the video content at specific timestamps. This helps viewers locate specific scenes or moments quickly, without having to scrub through the entire video.

When you play a video hosted on FastPix using the FastPix Player, timeline hover previews are built-in and ready to use. These previews are powered by spritesheets, an efficient way to manage multiple thumbnail images in a single file. This method significantly reduces HTTP requests, resulting in faster loading times and improved overall performance.


How timeline hover previews work

Spritesheets: A spritesheet is a single image file containing a series of smaller thumbnails, each representing a different timestamp of the video.

FastPix automatically generates these spritesheets during the video encoding process and associates them with the video file. For a deeper dive into how to structure and generate spritesheets, refer to our guide on adding timeline hovers using spritesheets.


timeline hover previews


When a viewer hovers over the timeline or progress bar, the FastPix Player calculates the corresponding timestamp based on the cursor’s position. The player then identifies the appropriate thumbnail from the spritesheet and displays it as a hover preview.

Implementation

The FastPix Player automatically integrates these spritesheets, so you don’t need to worry about manual configuration. Timeline hover previews are enabled by default, providing a seamless experience right out of the box.

While the default setup is intuitive and effective, advanced users can customize the appearance and behavior of hover previews. This flexibility allows you to tweak the feature according to specific project requirements if needed.


Example usage

Here’s an example of how the FastPix Player with timeline hover previews looks in action:

FastPix Player with timeline hover previews