gathertown / mapmaking

Maps, tilesets, and assets oh my!
350 stars 124 forks source link

create/update the sound-object while in the gather-interaction-panel doesn't play an audio-src immediately until the panel is closed #18

Open Thiti-Dev opened 2 years ago

Thiti-Dev commented 2 years ago

Example footage of my music-box

ezgif com-gif-maker (1)

probs

I first made a website where people can request their songs and everything works fine but there is one problem that is annoying me is that the users have to close the interaction panel first in order to hear the music or if the user is in the browser different tab they can't hear the sound also until they got back to the gather tab

Behind the scene, the backend itself sets up the sound-obj SPJxItemShop-Sound-001 and calls setMap

any workaround or any tricks to force playing the audio-src when users are not focused

Thank you