Skip to content

Audio not playing in browser #1984

Answered by soywiz
Maddin-M asked this question in Q&A
Discussion options

You must be logged in to vote

Browser an explicit user interaction before allowing to play sounds. That's a limitation on browsers to avoid ADs or videos to autoplay with sound.
Once you click on the page, the sound should be start playing. If your game is for the browser you can add a scene with a button like "play". Once the click is performed sound is initialized.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by soywiz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #1815 on October 25, 2023 00:33.