# Snapshoot sound - snapshoot()

This codepen will give you a camera snapshoot sound. Simply call `snapshoot()` from javascript. Like this: `<button onclick=" snapshoot() ">click</button>`
Version 1.1 A check for support of `audio/ogg` added, so should work in Mozilla.

On Codepen.io simply add this link to the JS resource link, and you can use it in your pens.

> https://codepen.io/netsi1964/pen/IHwco

An example of use here on Codepen.io the sound will play when you paste image to app.:

> HTML5 paste image to page

### Resources

- sound effects in javascript html5
- iPhone camera click.wav sound by Nathan Lomeli on www.freesound.org
- Click sound