Ok I had the same problem just now but when playing videos on the browser, actually I didn't try playing music or anything 😅. Anyway when u play a video on samsung browser and notifications icon appears
now press and hold the media notf.. and you will see this
Change it to silent
It worked for me hope it works for u guys.
English is not my primary language 😒 so take it easy with me ,only trying to help out 😉