video.js icon indicating copy to clipboard operation
video.js copied to clipboard

On volume change with javascript bar always 100%

Open nik0s100 opened this issue 9 years ago • 4 comments

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

nik0s100 avatar Aug 27 '17 13:08 nik0s100

Also when you disable the videojs-hotkeys plugin?

thijstriemstra avatar Oct 13 '17 00:10 thijstriemstra

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

ghost avatar Nov 30 '17 09:11 ghost

I am unable to reproduce. Can you provide a reduced test case? Testing with Video.js 6.5.0.

gkatsev avatar Dec 01 '17 23:12 gkatsev

(Not involved with that project anymore; CC: @silvea12 )

ghost avatar Jan 31 '18 12:01 ghost