androidx / androidx/media

Media3 SeekBar Preview on HLS MediaItem

Open
#2,521 6 comments 0 reactions 1 assignee View on GitHub

@marcbaechinger is already working on this.

Since Jun 18, 2025.

closed-by-bot question
Dominant language
Java
Stars
3k
Forks
955
Avg merge
12d 14h
Merged PRs (30d)
2

Description

Hi,

I’m working on implementing a seek-bar preview feature for an HLS (HTTP Live Streaming) MediaItem in Jetpack Compose, similar to what is seen on YouTube, Instagram, and other popular apps—where a small preview thumbnail appears above the seek bar while the user is scrubbing through the video.

Could anyone guide me on how to approach this in Compose?

Specifically, I’m looking for help with:

  • Generating or retrieving preview thumbnails for HLS streams (e.g., using .m3u8 thumbnail playlists).

  • Displaying a thumbnail preview in sync with the seek position.

  • How to implement this in Jetpack Compose, possibly using ExoPlayer (Media3) with custom Composable.

  • Any libraries or ExoPlayer (Medai3) extensions that support thumbnail previews.

  • Best practices for performance and UI responsiveness in Compose.

Any code samples, open-source references, or architecture suggestions would be greatly appreciated.

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.