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

Don't allow progress bar to overflow #2040

Closed
wants to merge 1 commit into from

Conversation

bc-bbay
Copy link
Contributor

@bc-bbay bc-bbay commented Apr 15, 2015

If something goes wrong in a calculation and player.currentTime() is greater than player.duration(), lock the progressControl at 100%. This is a better user experience than overflowing progress off the right end of the control.

If something goes wrong in a calculation and player.currentTime() is
greater than player.duration(), lock the progressControl at 100%. This
is a better user experience than overflowing progress off the right end
of the control.
@bc-bbay
Copy link
Contributor Author

bc-bbay commented Apr 15, 2015

@gkatsev New PR with changes from #2038 and latest code from master

@gkatsev
Copy link
Member

gkatsev commented Apr 15, 2015

Awesome, thanks.

@heff
Copy link
Member

heff commented May 6, 2015

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants