Skip to content

Instantly share code, notes, and snippets.

@matt-main
Last active October 21, 2018 09:48
Show Gist options
  • Save matt-main/db6b27dd64a234236d7590af58e90d78 to your computer and use it in GitHub Desktop.
Save matt-main/db6b27dd64a234236d7590af58e90d78 to your computer and use it in GitHub Desktop.

How to solve audio problems with web games on itch.io

Browser: Google Chrome (Desktop and Mobile apps)

Starting with Chrome version 64, autoplay of audio has been disallowed in certain situations. As a result, web games on itch.io might be unable to play sounds. You can re-enable sounds in Chrome by doing the following:

  • Enter chrome://flags/#autoplay-policy in your URL bar.
  • Change the “Autoplay Policy” to "No user gesture is required".
  • Restart Chrome.

You should now hear sounds for your games.

Note: This change needs to be done only once and will be effective for all websites you visit with Google Chrome.

Browser: Safari

Similarly to Google Chrome, Apple's Safari browser has established a policy to not autoplay media in certain situations, which also impacts audio for web games on itch.io.

From Safari 11 onwards you can mitigate this problem by doing the following:

  • Go to "Settings > Websites" and choose the "Auto-Play" category.
  • Here, you can either allow autoplay of media for all websites (options in bottom right corner) or change settings for individual websites.
  • To quickly change the settings for a particular website, you can also click on "Safari" in the menu bar and choose the "Settings for This Website" option.

You should now hear sounds for your games.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment