Jump to content

Home

HTML Help


Renegade Angel

Recommended Posts

<embed src="http://www.mysite.com/blabla.wav" loop="true" autoplay="true" width="145" height="60"></embed>

 

 

This will make your sound file play automatically when the page is loaded and it loop indefinitely. If you don't want autoplay, just replace autoplay="true" by autoplay="false". Do the same thing if you don't want it to loop: set loop to false. The above code will also add a small player so the visitor can turn on/off the music if he wants.

 

This page may interest you: http://www.hitmill.com/html/sound.html

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...