View previous topic :: View next topic |
Author |
Message |
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 167 Location: Gentoo forums
|
Posted: Fri Jan 26, 2024 7:47 pm Post subject: Firefox - Some websites forcing a certain volume percentage? |
|
|
I'm using Pipewire and Firefox:
Code: | $ qlist -Iv media-video/pipewire
media-video/pipewire-1.0.0-r1 |
Code: | $ qlist -Iv www-client/firefox-bin
www-client/firefox-bin-122.0 |
Code: | $ pactl info
Server Name: PulseAudio (on PipeWire 1.0.0) |
I noticed an interesting behavior since the last few days. Maybe I just didn't notice it until now, I'm not sure.
- Open Firefox and your usual volume control (pavucontrol-qt or built-in Plasma volume applet as far as I'm concerned)
- In Firefox, go to any Bandcamp or YouTube page and start playing a track / a video
- In the volume control tool, set Firefox / Tor Browser volume to 100%
- Seek backward or forward with the Bandcamp/YouTube player: the Firefox volume is automatically set to 89% for Bandcamp and 72% for YouTube (in my case) in the volume control tool
Play/pause doesn't alter volume, only seek operation. I could only reproduce on Bandcamp and YouTube, it doesn't occur with Invidious / Piped or Odysee for example.
The volume is always restored to 89% (Bandcamp) and 72% (YouTube), it doesn't matter if I manually set it to 13%, 60% or 93% before seeking.
Other things:
- tried to downgrade Firefox from 122.0 to 121.0.1, the issue persists
- I can reproduce with a fresh Firefox profile on both 121.0.1 and 122.0
- I can reproduce on my Arch Linux install (Pipewire 1.0.1 / Firefox 122.0)
- I can reproduce on another Gentoo machine (Pipewire 1.0 / Firefox 122.0)
- I cannot reproduce with Vivaldi (Chromium based)
- I cannot reproduce with other programs like mpv or Cantata
I found a few links describing similar behaviors:
Is this a Pipewire issue?
Or do Bandcamp and YouTube websites actually force certain volume percentages? Maybe flipping some Firefox settings in about:config could prevent this?
Thanks. |
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1904 Location: 127.0.0.1
|
|
Back to top |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 167 Location: Gentoo forums
|
Posted: Sun Jan 28, 2024 4:39 pm Post subject: |
|
|
Thanks for the report and the link. |
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1904 Location: 127.0.0.1
|
Posted: Sun Jan 28, 2024 4:55 pm Post subject: |
|
|
In fact, the volume level value (in pavucontrol) is not random : it seemed to be controlled by the volume level slider of the youtube player.
Try this :
- open a youtube video in a firefox tab
- using the youtube player slider, set the volume of the video
- close the tab (the volume level is saved here)
- reopen a youtube video in a new tab
- in pulseaudio/pipewire/volume tool, set the volume of the tab to 80%
- seek into the video (the volume level will be resetted to the previous saved value)
|
|
Back to top |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 167 Location: Gentoo forums
|
Posted: Sun Jan 28, 2024 5:05 pm Post subject: |
|
|
netfab wrote: | In fact, the volume level value (in pavucontrol) is not random : it seemed to be controlled by the volume level slider of the youtube player.
Try this :
- open a youtube video in a firefox tab
- using the youtube player slider, set the volume of the video
- close the tab (the volume level is saved here)
- reopen a youtube video in a new tab
- in pulseaudio/pipewire/volume tool, set the volume of the tab to 80%
- seek into the video (the volume level will be resetted to the previous saved value)
|
Can reproduce indeed. |
|
Back to top |
|
|
|