Hi,
I'm trying to add background music, like so (in StoryInit passage):
<<cacheaudio "town" "./town.ogg" "./town.mp3">>
<<waitforaudio>>
<<audio "town" volume 0 fadeoverto 30 1 loop>>
(You can try it on k12th.itch.io/test-music)
This works when I just open exported HTML locally, but when I upload *.zip to itch.io, there's no sound in Chrome. To make it worse, when make mp3 preferred format like this: <<cacheaudio "town" "./town.mp3" "./town.ogg">> it kinda works, but only after page refresh.
I tried different files. I can see that browser downloads .ogg file in Network tab in Development Tools. Firefox and even Edge both handle it fine.
Thanks in advance for any ideas.