Javascript – Play Background Music

By this code you can easily play a music at background of your web page. Simply edit the music source ‘ src=”mymusic.mp3″ ‘ and put the music in the current folder or mention the music url as the source. The player is hidden in this code. If you want to see it remove the ‘hidden’ attribute. Also you can remove the ‘loop’ attribute to prevent looping. Hope to be useful!



Leave a comment

Your email address will not be published.


Contact me Directly!

I am here to help you . . .

Sms and Telegram:

+1 807 907 0016