Renegade Angel Posted December 23, 2005 Share Posted December 23, 2005 I'm working on a website (Im using HTML) and I cant find the right code to put music on the web page. (it's a song form my favorite band) Lil' Help? Thanks, RA Link to comment Share on other sites More sharing options...
Darth333 Posted December 23, 2005 Share Posted December 23, 2005 <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 More sharing options...
RevanA4 Posted December 23, 2005 Share Posted December 23, 2005 <embed src="musicfile.wav" autostart="true" loop="false"> just replace musicfile.wav with your file and and to set and infinite play back set the loop to -1 here look at this http://www.2createawebsite.com/enhance/adding-music.html edit dang you d333 beat me by a minute Revan Link to comment Share on other sites More sharing options...
Lynk Former Posted December 24, 2005 Share Posted December 24, 2005 music in a web page sucks and people who put it in should be shot... Link to comment Share on other sites More sharing options...
Rogue Nine Posted December 24, 2005 Share Posted December 24, 2005 ^ What he said. Link to comment Share on other sites More sharing options...
RevanA4 Posted December 24, 2005 Share Posted December 24, 2005 I agree but I answered his question anyway Link to comment Share on other sites More sharing options...
RedHawke Posted December 24, 2005 Share Posted December 24, 2005 music in a web page sucks and people who put it in should be shot... Quoted for emphasis! Though shooting them is a little extreme... well... maby not! Link to comment Share on other sites More sharing options...
Darth333 Posted December 24, 2005 Share Posted December 24, 2005 I agree too. I prefer websites without music. (but there are a few rare exceptions were music can be ok. TSL's official website was one of them) Anyways, I gave him a piece of code that adds a player so at least visitors can turn the music off Link to comment Share on other sites More sharing options...
Bob Lion54 Posted December 24, 2005 Share Posted December 24, 2005 music in a web page sucks and people who put it in should be shot... Double quoted for emphasis! I hate when I'm listening to CD on my computer, and then some crappy midi starts playing. Especially when I'm really into the song.... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.