Issue with adding sounds and visual effects to website

Hello,

I have added custom sounds to buttons and 1 visual effect.
On Vercel’s website it runs perfectly, but when I deploy it to my domain they don’t work.

How can I fix it?

Thank you!

Hi @elanwav,

Can you share a bit more about the tech stack you are using? Is it React?

Can you share the link to your website so we all can see what’s the issue?

I personally find the use-sound | a React hook that lets you play sound effects • Josh W. Comeau package very helpful for playing sound. He also has good guides on visual effects.

1 Like

I tried using what you shared, I didn’t know how to make it work.

This is the website v0-new-you-git-main-elans-projects-1c064e7b.vercel.app I also have 2 other issues with the Interactive Audio Preview player when I go to the website via mobile all the buttons are ontop of each other, and all the interactive buttons will not work.

Thank you Anshuman!