#Sound gets muted after playing once on itch.io

12 messages · Page 1 of 1 (latest)

stray lake
#

https://ickshonpe.itch.io/pillars
Same thing on both Edge and Chrome. Play the game once and it's fine, but then if you refresh the browser the audio gets muted. Changing site permissions for itch.io to allow audio works, but other bevy games hosted on itch don't seem to have this problem.

itch.io

Simple falling blocks, match-three puzzle game

#

I'm using bevy_kira_audio

tawdry ocean
#

Have tried not starting the game on page load? Browsers don't really like autoplay AFAIK

#

wouldn't explain why it would work for the first time ofc

#

but I get no sound whatsover, first play or not

wet willow
#

Bevy games are generally using this sort of workaround.

#

It's even bundled with bevy_game_template, which is a template created by the author of bevy_kira_audio.

#

But it's necessary with bevy_audio as well.

#

But also, on itch, if you don't use the "autoplay" feature (users have to click a button before the game iframe loads), there's no problem.

stray lake
#

ah I'll try that then

#

yep disabling autoplay that seems to have done it