Jump to content

How to randomly play an mp3 on site load


DRB184

Recommended Posts

This is the code that I have found that automatically plays a song when the site is loaded. My question is, is it possible to have a number of songs - song1, song2....etc - and have them randomly selected each time the site loads. If so, what would the code be please.

 

<EMBED src="music/song1.mp3" width="140" height="40" volume="20" autostart=true loop=FALSE></EMBED>

 

Thanks in advance,

 

David.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.