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

[bug] buffer value cross out the progress bar #59

Closed
Abolfazl-MI opened this issue Jul 4, 2023 · 2 comments
Closed

[bug] buffer value cross out the progress bar #59

Abolfazl-MI opened this issue Jul 4, 2023 · 2 comments

Comments

@Abolfazl-MI
Copy link

Hi , I have feature to play short voice in my app if even there is one or 2 seconds of audio , but when buffer value download and want to display on screen the buffer cross it out this is picture of it .

issuse

@suragch
Copy link
Owner

suragch commented Jul 10, 2023

That's very strange. I never tested this on small values so this could be an edge case. Could you tell me the values for position, buffered, and total?

@suragch
Copy link
Owner

suragch commented Aug 24, 2023

This is due to giving the progress bar an invalid value for the buffered parameter. buffered should never be greater than the total duration. Maybe the widget should throw an error, but for now I just clamped buffered (and progress) between 0 and total. You can upgrade to version 2.0.0 to get the changes.

@suragch suragch closed this as completed Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants