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

firefox原生的html5音频播放器音量显示可能不正确 #1

Closed
heroesm opened this issue Mar 5, 2016 · 2 comments
Closed

firefox原生的html5音频播放器音量显示可能不正确 #1

heroesm opened this issue Mar 5, 2016 · 2 comments

Comments

@heroesm
Copy link
Owner

heroesm commented Mar 5, 2016

在目前的firefox版本中存在一个bug:如果更改了audio元素的display值,会导致该audio元素的音量错误地显示为最大值,而它的实际音量并没有改变。

这个bug对这个插件造成的直接影响就是:每当使用快捷键或点击的方式将插件面板从隐藏中恢复显示时,当前歌曲的音量总是会显示为最大。因为歌曲真正的播放音量并没有发生改变,所以这个bug其实没有多少实质影响,只是可能让人对音量产生错觉罢了。目前一个迂回的解决办法就是,每次从隐藏中恢复时将j和k键各按一次,这等于是在短时间内执行了一轮改变音量再改回的操作,以此重置音量的正确显示。

该bug已被提交至bugzilla。

@heroesm
Copy link
Owner Author

heroesm commented Mar 8, 2016

添加了一个“音量修复”的选项,开启后,可以在每次改变主面板的显示状态时通过自动进行一轮改变音量值的操作来回避firefox的这个bug。
不过最好还是mozilla那边能早点把这个bug给修复了。

@heroesm
Copy link
Owner Author

heroesm commented Jul 16, 2016

从firefox49开始这个bug已经被修复。
https://bugzilla.mozilla.org/show_bug.cgi?id=962560

@heroesm heroesm closed this as completed Jul 16, 2016
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

1 participant