diff --git a/Web-Browsers.md b/Web-Browsers.md index 7f5ef86..3d6f136 100644 --- a/Web-Browsers.md +++ b/Web-Browsers.md @@ -17,6 +17,14 @@ NOTE: `file://` URL may not work with Ebiten. Execute your game on a HTTP server If you want to embed your game into your web page, using iframe is strongly recommended. +If you find this message with Chrome: + +``` +The AudioContext was not allowed to start. It must be resume (or created) after a user gesture on the page. https://goo.gl/7K7WLu +``` + +you can solve this by putting `allow="autoplay"` on the iframe. + # Restrictions On both Android and iOS, touching is required to start sound. This is the browser's restriction.