ftguy2018 Posted August 22, 2018 Share Posted August 22, 2018 https://developers.google.com/web/updates/2017/09/autoplay-policy-changes#webaudio Will this be a problem to play sound using Panda2 sound engine in October ? Currently the console is saying : audio.js:85 The Web Audio autoplay policy will be re-enabled in Chrome 70 (October 2018). Please check that your website is compatible with it. https://goo.gl/7K7WLu staticInit @ audio.js:85 Quote Link to comment Share on other sites More sharing options...
enpu Posted August 23, 2018 Share Posted August 23, 2018 I have added small check to mousedown and touchstart events, that's checks if the audio context state is suspended and will then try to resume it. This would still mean that you have to have user-gesture in your game, before you can play any audio. Quote Link to comment Share on other sites More sharing options...
ftguy2018 Posted August 31, 2018 Author Share Posted August 31, 2018 Thank you, so is this available on current dev version or only in the new beta 2 ? Quote Link to comment Share on other sites More sharing options...
enpu Posted September 3, 2018 Share Posted September 3, 2018 In the current dev version of the engine. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.