how to play a music whenever the home/any page is opened
With the above approach no. You will have to use some media player instead but that won't be background music.
I would suggest keep file path in database and then based on that path load the file
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.