bp74 / StageXL

A fast and universal 2D rendering engine for HTML5 and Dart.
http://www.stagexl.org
Other
881 stars 82 forks source link

Audio on Chrome not allowed by MEI policy #313

Closed AndrewLugg closed 2 years ago

AndrewLugg commented 6 years ago

Chrome is stopping allowing auto-playing audio, which is stopping audio from being played in StageXL. It doesn't seem to get caught with any errors currently. It is affecting us on our WebAudioAPI, we haven't done tests with HTML5 but from the documentation it seems it would effect both.

Here is some documentation on it: https://www.chromium.org/audio-video/autoplay https://developers.google.com/web/updates/2017/09/autoplay-policy-changes

bp74 commented 6 years ago

Thanks for the report, link to same issue on the StageXL forum: https://groups.google.com/forum/#!topic/stagexl/S5qZNj5Qpps