# Audio sound/file to play on button click or action

**URL:** <https://community.weweb.io/t/audio-sound-file-to-play-on-button-click-or-action/7341>\
**Category:** How do I?\
**Tags:** design\
**Created:** [February 29, 2024, 1:58pm UTC](https://community.weweb.io/t/audio-sound-file-to-play-on-button-click-or-action/7341 "2024-02-29T13:58:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dervish99](https://avatars.discourse-cdn.com/v4/letter/d/c67d28/32.png) [@Dervish99](https://community.weweb.io/u/Dervish99)\
**Post date:** [February 29, 2024, 1:58pm UTC](https://community.weweb.io/t/audio-sound-file-to-play-on-button-click-or-action/7341/1 "2024-02-29T13:58:33Z")

</div>

Hey,

I tried going throw the docs, but didn’t spot anything, is there any way to have a small sound to be played, like for success message?

---

<div class="post-metadata">

**Author:** ![luka](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/luka/32/1571_2.png) [@luka](https://community.weweb.io/u/luka)\
**Post date:** [March 1, 2024, 1:08pm UTC](https://community.weweb.io/t/audio-sound-file-to-play-on-button-click-or-action/7341/2 "2024-03-01T13:08:43Z")

</div>

I think for now you will have to use custom JavaScript, something like this

> <https://stackoverflow.com/questions/9419263/how-to-play-audio>
