Forum Moderators: open

Message Too Old, No Replies

Wav files on links

Playing sounds when a link is pressed

         

Scaleskin

10:36 pm on Mar 19, 2004 (gmt 0)

10+ Year Member



Hi

I have some wav files fer my website and I am ready to use them, but I dont know how. I want to set it up so that a wav file with play when someone clicks on a link on the site. Any suggestion how to do this?

RonPK

11:14 pm on Mar 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The easiest way is to simply link to the .wav files:

<a href="mymusic.wav">play my music</a>

Clicking should launch the users media player configured to play .wav files.

Bonusbana

11:52 pm on Mar 21, 2004 (gmt 0)

10+ Year Member



maybee a pseudo element combined with the content property will do the trick?

[w3schools.com...]