搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Cannot adjust volume in HTML5 audio element

more options

When I move my mouse to hover over the volume icon in an audio element, the volume bar appears. However, the moment I move my mouse off the volume icon and to the volume bar, the volume bar disappears.

This can be observed on the following webpage: http://moztw.org/demo/audioplayer/

When I move my mouse to hover over the volume icon in an audio element, the volume bar appears. However, the moment I move my mouse off the volume icon and to the volume bar, the volume bar disappears. This can be observed on the following webpage: http://moztw.org/demo/audioplayer/

所有回覆 (2)

more options

Yes confirmed, I see sane behavior on Linux. It works if I click the bottom of that volume bar to mute the sound and then drag the bar to the wanted volume level.

more options

Unfortunately, this workaround does not seem to work for me. Volume bar still disappears immediately, even if I'm holding down the mouse button.