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

Minimum volume after unmuting #4227

Merged
merged 2 commits into from
Mar 24, 2017

Conversation

kevinlitchfield
Copy link
Contributor

When unmuting and lastVolume is less than 0.1, set volume to 0.1 instead of to lastVolume.

Fixes #4054.

Before

less than 0 1

Volume set to 0.024390243902439025.

After

0 1

Volume set to 0.1.

@gkatsev
Copy link
Member

gkatsev commented Mar 24, 2017

Cool!

there seems to be a conflict in the test file, can you take a look at that?

@kevinlitchfield
Copy link
Contributor Author

@gkatsev Oops! Got it, thanks.

@gkatsev gkatsev merged commit 16c1e0a into videojs:master Mar 24, 2017
@gkatsev
Copy link
Member

gkatsev commented Mar 24, 2017

Thanks @kevinlitchfield!

@gkatsev
Copy link
Member

gkatsev commented Mar 24, 2017

Looks like IE9 rounding strikes again!
https://travis-ci.org/videojs/video.js/builds/214771473#L356

gkatsev pushed a commit that referenced this pull request Mar 24, 2017
#4227 caused an error in IE9 because it returns back a bad float number.
Instead, we toFixed(1) the response
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

Successfully merging this pull request may close these issues.

3 participants