In this tutorial it is shown how to make browser ask user for microphone and/or camera access.
I don't need input devices access, I need user to allow site to play notification sounds. Is there a way to make a similar prompt for autoplay permissions? (Instead of giving user instructions on how to allow it).