Open Bug 1631642 Opened 5 years ago Updated 3 years ago

When autoplay is set to block audio and watching a twitch video, trying to unmute the video pauses the video vise versa

Categories

(Core :: Audio/Video: Playback, defect, P3)

68 Branch
defect

Tracking

()

Tracking Status
firefox75 --- wontfix
firefox76 --- wontfix
firefox77 --- wontfix
firefox78 --- affected
firefox88 --- affected

People

(Reporter: u661513, Assigned: alwu)

References

()

Details

Attachments

(1 file)

Attached video 2020-04-21 02-37-35.mp4

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

I was watching an twitch recording on firefox with autoplay set to block audio.

Actual results:

When video starts it is mute then when I try to unmute it, video pauses

Expected results:

When I try to unmute it video shouldn't stop and when I play the video again it shouldn't be mute

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
Assignee: nobody → alwu
Priority: -- → P3

I'm able to reproduce this when I set media.autoplay.enabled.user-gestures-needed to false; if set to true (which is the default), unmuting does not pause the video.

Severity: normal → S3

¡Hola u661513, Jani!

Hope these lines find you well.

Are you still seeing this bug on the current version of Firefox available at https://www.mozilla.org/firefox/new/ ?

Please let us know.

¡Gracias!
Alex

Flags: needinfo?(jani)

Hi Alex!

It does not appear to have been fully fixed by Firefox 88 for me at least, although the conditions have changed slightly, and the remaining broken behavior is now slightly different too.

First, to update my note above: media.autoplay.enabled.user-gestures-needed has been superseded by media.autoplay.blocking_policy, and setting the latter to 2 is now required to trigger the issue (as it manifests presently); with the setting at either 0 or 1 I haven't been able to reproduce any variation of the issue.

Now, the video doesn't get paused anymore, but the unmuting also does not work: clicking the muted indicator just always resets it back to muted, instead of actually unmuting.

Flags: needinfo?(jani)

¡Hola Jani!

Thanks for checking and the update here!

I've update the bug flag for 88 based on your report.

Have you reported this to Twitch over at
https://help.twitch.tv/s/contactsupport
yet?
If not, could you please do so in case this is an issue with the website?

As the steps have now changed slightly, could you please re-state the current:

  • steps to reproduce
  • actual behavior
  • expected behavior

as well as any other details that you believe are relevant to pin down this bug.

¡Gracias!
Alex

Flags: needinfo?(jani)

Steps to reproduce

  1. Open about:config
  2. Search for autoplay in the settings
  3. Set media.autoplay.default to 1 ("Block Audio", which is the default)
  4. Set media.autoplay.blocking_policy to 2
  5. Open a Twitch VOD, for instance https://www.twitch.tv/videos/280106033
  6. Try to unmute the video (either by clicking Twitch player's speaker control button, or by dragging the accompanying volume slider)

What I expect to happen

For the audio to be unmuted.

What happens instead

The audio remains muted, and the volume control/indicator remains in the muted position.


I'm unmotivated to report this to Twitch, as I'm unsure about the precise meaning of media.autoplay.blocking_policy, and I currently don't use the non-working value for it myself. Feel free to downprioritize this as you see fit, unless the original reporter is still affected. Here's my downstream report over at Launchpad though, just for reference. (I'll update it too.)

Flags: needinfo?(jani)

Yes, I think this is Firefox's bug. I might have time to revisit this bug recently, sorry for the inconvenience.

Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: