What are the exact interactions necessary for an autoplay permission of "default (block audio)" to permit autoplayed audio?
If you don't touch the autoplay permissions for a site, Firefox seems to be attempting to use some heuristics to decide whether autoplay, such as calling ".play()" on an Audio object in javascript, should be allowed. What are these heuristics, and where are they authoritatively documented? [https://developer.mozilla.org/en-US/d.../Autoplay_guide#autoplay_availability|MDN] has some information but nothing Firefox-specific.
If you don't touch the autoplay permissions for a site, Firefox seems to be attempting to use some heuristics to decide whether autoplay, such as calling ".play()" on an Audio object in javascript, should be allowed. What are these heuristics, and where are they authoritatively documented? [[https://developer.mozilla.org/en-US/docs/Web/Media/Autoplay_guide#autoplay_availability|MDN]] has some information but nothing Firefox-specific.
Toutes les réponses (1)
See these AutoplayPolicy files in the source code: