Background Music

Main >> Content >> Tutorials >> HTML >> Background Music

This code lets you play music on your site, without showing the musicplayer.
Step 1: Start by copying the code under and paste it on the page you want to have the background music.
<embed src="MUSIC URL" autostart="true" hidden="true" loop="1"></embed>

Step 2: Where it says MUSIC URL you have to paste the song URL you want it to play.

Step 3: Autostart: if true, it starts on it's own, if false, it woun't start unless someone clicks 'play', but you can't see the music player, so the autostart has to be on true.
Hidden: this part is the one that makes the music play in the background, if it would say false it wouldn't be background music, you would see the music player.
Loop: How many times you want the song to be played.