On volume change with javascript bar always 100%
Description
When I'm using .volume to change volume with javascript the bar stays always at 100% but the sound is where I choose to be with javascript
Steps to reproduce
Explain in detail the exact steps necessary to reproduce the issue. 1. 2. 3.
Results
Expected
Please describe what you expected to see.
Actual
Please describe what actually happened.
Error output
If there are any errors at all, please include them here.
Additional Information
Please include any additional information necessary here. Including the following:
versions
6.2.7 what version of videojs does this occur with? Any what browser are affected?
OSes
Any
plugins
videojs-hotkeys
Also when you disable the videojs-hotkeys plugin?
This is something we're seeing when volume is set before the playing event. We persist player volume in local storage and set it as soon as the player signals ready, leading to this bug. Our workaround was simply to set the volume to itself on playing.
We do not use videojs-hotkeys, but:
- contrib-hls
- flash
- contrib-ads
- ima
- heavily modified videojs5-settings where volume persistance has been pulled out from the code
I am unable to reproduce. Can you provide a reduced test case? Testing with Video.js 6.5.0.
(Not involved with that project anymore; CC: @silvea12 )