Closed Bug 1511120 Opened 6 years ago Closed 6 years ago

Turn on the pref "media.autoplay.block-webaudio" on Nightly

Categories

(Core :: Web Audio, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

(Blocks 1 open bug)

Details

(Whiteboard: [qa-66b-p2])

Attachments

(1 file)

To see if there is any issues after enable blocking autoplay for web-audio.
We're planing to turn on this pref on fx66.
Rank: 15
Priority: -- → P2
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/66baa44b06c2 Turn on the pref "media.autoplay.block-webaudio" on Nightly r=padenot
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Depends on: 1517046
Component: Audio/Video: Playback → Web Audio
This breaks audio on http://titanix.net:8080/ and probably other WebSDR receivers

(In reply to Henri from comment #5)

This breaks audio on http://titanix.net:8080/ and probably other WebSDR
receivers

In new autoplay policy, we would require developer to create AudioContext after document gets activated by user gesture. If you create AudioContext before that, it would not be allowed to start. You would need to explicit call AudioContext.resume() or AudioScheduledSourceNode.start() after document gets activated in order to start AudioContext.

Flags: needinfo?(cg+zbmvyynohtmvyyn)

(In reply to Alastor Wu [:alwu] from comment #6)

(In reply to Henri from comment #5)

This breaks audio on http://titanix.net:8080/ and probably other WebSDR
receivers

In new autoplay policy, we would require developer to create AudioContext after document gets activated by user gesture. If you create AudioContext before that, it would not be allowed to start. You would need to explicit call AudioContext.resume() or AudioScheduledSourceNode.start() after document gets activated in order to start AudioContext.

I'm just a user of that page, so cannot do anything about it. There is not any kind of prompt to allow the audio playback, at least giving that to user would be nice.

Flags: needinfo?(cg+zbmvyynohtmvyyn)

(In reply to Henri from comment #7)

I'm just a user of that page, so cannot do anything about it. There is not
any kind of prompt to allow the audio playback, at least giving that to user
would be nice.

Because the result of the shield study we've launched (bug1475099) showed that the doorhanger seemed not really helpful for user, and some people were confused about that, we've decided to remove the doorhanger.

We know that it would increase the possibility to break sites which uses web audio, so we're trying to add other mechanisms which would resume AudioContext from blocking (eg. bug1513733, bug1517324) in order not to break too many sites.

Whiteboard: [qa-66b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: