Safari has implemented a more aggressive auto-play blocker. You can thank advertisers that auto-play audio in web pages for this; it's basically an attempt to thwart that awful practice.
Basically, any audio source that tries playing without user interaction with a page is blocked. That unfortunately seems to include Pico-8 games that play audio (the boot-up chime) without interaction from the user. Until that changes, I don't think there's a general way for developers to get around this.
For your own enjoyment of Pico-8 games, you can "fix" this behavior by going to "Settings for this website..." in your Safari menu, and selecting "Allow all auto-play" from the drop-down. That will tell Safari to not block auto-play audio for this site.
For a more general fix, you can go to the "Websites" panel of the preferences and set the default there or manage which sites allows auto-play. (Note that this will reinstate advertising that auto-plays audio, too, if you do this for every site, so it's probably better to whitelist the sites you don't mind listening to sound from instead.)
One thing I noticed (in Firefox on Mac) is that sound will start if I open the browser's developer console.
In there you can see there's a browser warning: "An AudioContext was prevented from starting automatically. It must be created or resumed after a user gesture on the page."
By opening the console, it must act as a "resume the context".
[Please log in to post a comment]