I have开发者_JS百科 a client who has a young target audience and needs his site to play short "catch phrases" when the user clicks buttons. What would be the best way to go about this? I don't necessarily want to use Flash.
If you're looking for a quick dropdown solution, try this library. (I've played a bit with it, and it seems reasonable.)
Yes, you can use it. If someone is using old, crappy browser then he just won't hear a clip - that's not a very big problem I guess.
You could do that using hidden <audio>
element and piece of JavaScript.
精彩评论