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

Let the slide control the progress bar of the slide #4

Open
2 tasks
makeros opened this issue Jul 26, 2021 · 0 comments
Open
2 tasks

Let the slide control the progress bar of the slide #4

makeros opened this issue Jul 26, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@makeros
Copy link
Contributor

makeros commented Jul 26, 2021

Right now the progress bar percentage is calculated using request animation frame.
The problem is that when we have a video slide (especially a custom one) then for example we need to set the duration of the slide after the video is loaded and the duration is then known.
When for some reason the video is lagging or buffering, just stop/play the progress bar is not enough to calculate the progress properly.
That's why we would need the posibillity to provide in the slide configuration our own function which will set the progress manually (setting the percentage of the progress)

  • provide a function in the slide configuration which can set the progress slide manually
  • update the demo with new slide where by clicking on an slide item we can move the progress forward
@makeros makeros added the enhancement New feature or request label Jul 26, 2021
@makeros makeros self-assigned this Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant