Help! Konami code with sound?
Hmmm.... i cant seem to get this to work. I was going to use this on my homepage.
When you correctily entered the "Konami Code" your supposed to hear a sound.
So what I have done is edited the original konami code (code) from just bringing up a textbox saying you have 30 lives to playing a sound. http://www.youtube.com/watch?v=zHOPEjpMv1A
konami = new Konami()
konami.code = function play()
var embed = document.createElement('object');
embed.setAttribute('src', 'C:\Users\Willium\Music\Area Cleared.wav');
What did i do wrong and why wont it play a sound? Mind you the src for the sound destination is only local because i am testing it first before uploading it to my server.