Media autoplay behavior is browser dependent. For instance, Chrome does not allow audio autoplay until the user has interacted with the page (click, tap, etc).
If you are only worried about autoplay in your browser, Chrome has a flag that you can set to allow audio to play without user interaction. If you are trying to create a script/extension/etc that will impact other users, you will need to research the behavior of the browser(s) you are targeting.
Edit: just saw that you are using Firefox Portable. Information about autoplay behavior can be found here.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…