Audio not playing

Audio not playing
0

@Lazy_Gamer @slackmoehrle @jare @StudioAMK @zzf520
Hi sir,
When Game scene load audio not playing when I click on the page it’s playing.

Are you getting some warning in your console(browser tab)

The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page.

If YES then follow this link to understand this behavior by browsers and made changes best against your use case, I don’t think its a core CC issue.

1 Like

Most modern browsers do not allow to start web audio without user’s action.

So, for web platform, add a button to continue at the splash screen. As soon as the user clicks/taps the button, the browser will consider this as an action and audio will be activated.