Vague Web Audio API Guidelines
Hi. A similar post to this has been made recently regarding the guidelines for sounds in a webpage here. It discusses about the source of sounds you can use, but I have questions about the other rules and their workarounds.
The guidelines say:
Webpages should also only play sounds in response to user interaction.
This limits some ways sounds can be used, such as background music. This may also apply to programs that automatically play sounds without the user's control, for example, a physics simulation that plays sounds when an object collides.
Is it possible to create a 'loophole', by presenting the user with the option to enable or disable playing audio without their interaction? If the program was really made to do harm by spamming loud sounds into people's eardrums, then the user would at least be able to stop it. Plus, the user pressing the 'allow' button is technically interaction...
Another rule:
Webpages should not play sounds immediately upon load.
What about starting the background music after a delay or user interaction?
And last but not least:
...and should not loop sounds endlessly.
Strangely, this rule only exists in PJS programs, but will the same 'loophole' mentioned above work, if it also applies to webpages?
Влезте в услугата, за да оставите коментар.