Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview seekbar like youtube #5254

Closed
meenukrishnamurthy opened this issue Dec 13, 2018 · 1 comment
Closed

Preview seekbar like youtube #5254

meenukrishnamurthy opened this issue Dec 13, 2018 · 1 comment
Assignees
Labels

Comments

@meenukrishnamurthy
Copy link

Hi i would like to implement a preview seekbar like youtube.Can anyone tell me how to go about it.
A view appears above the seekbar when we are seeking showing a thumbnail of the video at that sec.

@ojw28 ojw28 self-assigned this Dec 13, 2018
@ojw28 ojw28 added the question label Dec 13, 2018
@ojw28
Copy link
Contributor

ojw28 commented Dec 13, 2018

YouTube implement this by extracting thumbnail images from the videos on the server side. They then request these images out-of-band to display in their UI during seeking. In other words, their solution is entirely independent of the player.

It's quite difficult to implement this type of feature using the media stream directly (i.e. without separately extracting thumbnails). Even if I were implementing this on the client, I think I'd design something to extract thumbnail images, cache those locally in my app, and then use them to implement a similar solution to YouTube's. The details of how to build this are outside the scope of this issue tracker, however.

Note that for DASH specifically, there is some built in thumbnail support if the media is prepared in a particular way. Supporting this is tracked by #3752.

@ojw28 ojw28 closed this as completed Dec 13, 2018
@google google locked and limited conversation to collaborators May 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants