I want to add music when website main page open music will start and continuously play in background
??
thanks
please reply possible solution.
Refer
https://www.aspsnippets.com/Articles/Play-WAV-sound-files-in-ASP.Net-using-JavaScript.aspx
Also you can use HTML5 Audio Player and hide it.
<audio style= "display:none" controls="controls" autobuffer = "true" autoplay="true"> <source src="https://www.aspsnippets.com/demos/2429/File.ashx?Id=1" type="audio/mpeg" /> <p>This content is displayed by browsers that don't recognize the audio element.</p> </audio>
Demo
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.