Playing Alert Sounds

Hey there,

I’m currently making an admin/management panel in my app, and I have all the permissions set up. Currently, when a user without the required credentials tries to enter the admin panel, it redirects them to the home page. I wanted to add a notification alerting the user that they do not have access to the admin page, along with a sound to play with it. I can’t figure out how to play the alert sound once the user is redirected to the home page and the notification appears.

If anyone knows anything about the issue I’m currently experiencing, please let me know. Thanks!


Hey there @kevinb,

You can use the Howler plugin to play the sound


Thanks @johnny!!

No problem!

This topic was automatically closed after 70 days. New replies are no longer allowed.