I'm currently working on a project using Laravel Filament v3, and I want to implement a feature where a sound plays when a database notification is received. I've successfully set up database
It is possible with custom js, but you have to be aware that browsers by default require user interaction to allow audio playback. So it is impossible to just play an audio file at will.
I found a way to do it by writting a js script inside base blade of filament, and yeah it requires user interaction on page so it can be played, i'll try web push notification next time