Enable audio playback by user
I have inserted an audio track into a question, and it plays as soon as you come to that question. However, I need to make it so that when the user clicks a certain image (icon), the audio plays, and this needs to be repeatable however many times the user needs. How do I do this?
The quiz is a bird song quiz. I'd like to make it so that if you can give the answer by simply hearing the audio and being able to tell the species, you're rewarded 2 points, but if you click the icon to generate an image of the bird, you may only be rewarded 1 point. So I suppose I need to know how to generate
A) a sound file from clicking an icon.
B) an image from clicking another icon.
Thanks for any help.