A Andrew Chalk Nov 17, 2005 #1 Can anyone point me to some code that allows the user to play a WAV file by clicking on a link. Many thanks.
Can anyone point me to some code that allows the user to play a WAV file by clicking on a link. Many thanks.
K Karl Seguin Nov 17, 2005 #2 Well, simply linking to the .wav file will work for most users. All they need is a program, like QuickTime associated with the wav extension. You can check out: http://www.fluffbucket.com/html/sound.htm <a onclick="self.location='myfile.wav'; return false" href="#">Click here to play</a> Karl
Well, simply linking to the .wav file will work for most users. All they need is a program, like QuickTime associated with the wav extension. You can check out: http://www.fluffbucket.com/html/sound.htm <a onclick="self.location='myfile.wav'; return false" href="#">Click here to play</a> Karl
A Andrew Chalk Nov 17, 2005 #3 OK. Now if the user clicks on a button that causes a search of a database for the file name how can my web site then play the file to them? Many thanks, Andrew
OK. Now if the user clicks on a button that causes a search of a database for the file name how can my web site then play the file to them? Many thanks, Andrew
S Stimp Nov 17, 2005 #4 OK. Now if the user clicks on a button that causes a search of a database for the file name how can my web site then play the file to them? Click to expand... Create a literal object and then output the HTML text in it as mentioned previously, substituting in the .wav file name.
OK. Now if the user clicks on a button that causes a search of a database for the file name how can my web site then play the file to them? Click to expand... Create a literal object and then output the HTML text in it as mentioned previously, substituting in the .wav file name.
A Andrew Chalk Nov 17, 2005 #5 Thanks! Stimp said: Create a literal object and then output the HTML text in it as mentioned previously, substituting in the .wav file name. Click to expand...
Thanks! Stimp said: Create a literal object and then output the HTML text in it as mentioned previously, substituting in the .wav file name. Click to expand...