Hi guys,
I was wondering if it's possible to play a sound from.. let's say a .gif by clicking on it. Or even any other way as long as it doesnt take to much space on the site. (im talking a bout a short audioclip, it shouldnt be more then let's say 10-20 seconds.)

Ive tried to embed it in HTML but ive got only a good outcome from mozilla firefox and IE while it wouldnt work on Opera/google chrome & safari....

If you guys know a good way to do it please let me know any help would be apreciated.

greets
Katsurou

p.s sorry if its not the correct forum to post this thread

I cannot tell you exactly how, but you can do this with Javascript.
Let me explain the idea: the sound needs to be separate from the gif image (a flash file, let`s say).
And then put a javascript code, so that when your press the gif image, the sound flash file will start playing.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.