Hi guys. I was just wondering if I can make a background music on my website so that when the visitor visits my website the music will play automatically in the background.
Autoplaying media is a bad choice. Browser’s are now helping you not to make it.
Thank you for this information @webdev , I didn’t know that autoplaying is not recommended, but I was just wondering if I can?
Since there is no sound widget, you could only do this with custom code. The google link gives options. Most people hate it. That’s why many browsers are implementing blocks. So you would need to research how to accomplish what you want, with each browser you plan on supporting.