Displaying 1 result from an estimated 1 matches for "soundobj".
2006 Aug 01
0
wav file
I''m building an app that allows users to sample .wav files.
What is the best way to have RoR play sounds?
I was just going to do something like this, but am wondering if there is
a better way.
Thanks!
<script>
function EvalSound(soundobj) {
var thissound=document.getElementById(soundobj);
thissound.Play();
}
</script>
<embed src="alf.wav" autostart=false width=0 height=0 id="sound1"
enablejavascript="true">
<form>
<input type="button" value="Play Sound" onClic...