I need to play a mp3 audio file when the user clicks on a image. I only want to audio to play, i.e. there should be no controls, widgets, etc. Nor should the browser launch an external application.
Edit: ok, I might be able to try out flash. recommendations for a lightweight flash player?
You could do this:
… but playing sound without flash is evil and will lead to issues cross browser even if there is some solutions.
You could also use HTML5 and the audio tag:
… but this won’t be supported by all browsers.
EDIT: For a flash player you could use this one or this very simple one… there are tons! Try out examples and see what’s best for you.