Hi! Unfortunately, this won’t work in most cases due to browsers preventing autoplaying audio until after the user interacts with the page.
I’ve updated the editor and player with a new autoplay
option, which you can enable by editing the config.json
file and adding "autoplay": true
and "feature": true
to the track you want to start playing on load. On itch, this will only work if you disable “automatically start on page load” in the itch.io options, since that provides a button for users to click to load the project, which counts as user interaction for the page. (I haven’t tested this, but I presume it will work)
If that works for your case, feel free to try it out!