HTML5 audio is playing

Status
Not open for further replies.
Hi - I have just loaded in an old game into GameMaker and after reinstalling it on my website (HTML5) I have noticed that my soundtrack does not play on loading. I did this by using the following code in the room creation code:

if !audio_is_playing(snd_circusdilemma)
{
audio_play_sound(snd_circusdilemma, 5, true);
}

My question is, is there a reason why the sound no longer plays on launch? I note it does play on launch if I run the program on my desktop.

Thank you for any comments!
 
Status
Not open for further replies.
Top