I have this code:
$('#typer').keypress(function(e){
var code = (e.keyCode ? e.keyCode : e.which);
if (code == '13') {
$.sound.play("cr.wav",{timeout:1000});
} else if (code == '8') {
$.sound.play("del.wav",{timeout:1000});
} else if (code == '27') {
$.sound.play("asswipe.wav",{timeout:1000});
} else {
$.sound.play("key.wav",{timeout:1000});
}
});
Now, for some reason - I can only type one character in this box. The sound plays once and then nothing more.
This works fine in IE... Just FireFox...
Plugin link: http://code.google.com/p/jqueryjs/source/browse/trunk/plugins/sound/jquery.sound.js?r=5750
Has ANYONE ever used this plugin....?