Sound in timeline action trouble

Hi there, I'm using Hype 4.1.7 Pro and I've got a problem: If I use a button in order to start a sound, it's ok but when I try to play a sound with a timeline action, nothing happens. I must forget something so please, enlighten me :wink: thanks!
soundtest.zip (183.9 KB)

without a userinteraction regarding the sound it is most likely suppressed / restricted by the browser.

so, to be 100 % you'll need a click or touchstart to start the sound ...

2 Likes

That's annoying because I'm trying to play the sound of a bullet as a hole in the background appears and it shouldn't be done by the click of a button :confused:

Those are simply browserrestrictions, but searching the forum will give you some ideas on how to omnit it ...

1 Like

Simplest way is to have landing area at the start that has a start button. The button will play a sound and go to the first scene.

Because the user clicked the start button authorising sound, the browser should now assume all sound is ok.

shot.hype.zip (88.3 KB)

5 Likes