Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Music On A Website, How?
destinedskater
post Oct 15 2005, 05:45 PM
Post #1


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 14
Joined: 11-October 05
Member No.: 9,041



Ok on my website (not the one listed on sig) i have a really cool load up page which takes about a minute. What i want to do is have a piece of music playing in the background but without the user having to click on anything. Like say they enter my website then imediatly the music plays

1.Is this possible
2.If so HOW??

thanks smile.gif
Go to the top of the page
 
+Quote Post
pat23
post Oct 15 2005, 06:16 PM
Post #2


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 48
Joined: 12-October 05
Member No.: 9,067



Yes it is possible:

CODE
<embed src="yourmusicfile.mid" autostart="true" loop="true"
width="2" height="0">
</embed>
<noembed>
<bgsound src="yourmusicfile.mid" loop="infinite">
</noembed>


Change yourmusicfile.mid you what ever you want.
Go to the top of the page
 
+Quote Post
clagnol
post Oct 15 2005, 09:53 PM
Post #3


Advanced Member
Group Icon

Group: Members
Posts: 102
Joined: 21-August 05
Member No.: 8,003



I don't think this works with the Netscape family of browsers. Probably the best way to ensure that all browsers play your music is to use Flash. I'm sure there are some kits on the Internet you can download for free that allow you to just add your own music into the SWF and then place it on your page. They also typically have "play" and "stop" buttons so that the user can control the music (a lot of people listen to music while they browse, so they might not want your music to interfere with their own music).

Personally, I do not like background music on websites because I am one of those people who listens to music while on the Internet. Plus, most of the background music on the Internet is not good. Your visitors may not appreciate the music.
Go to the top of the page
 
+Quote Post
pat23
post Oct 15 2005, 10:06 PM
Post #4


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 48
Joined: 12-October 05
Member No.: 9,067



The code i posed does work with netscape i have personal tesed it opera, ie, mozzila and netscape, and it works in all. But opera it messes up a bit every once in a while.
Go to the top of the page
 
+Quote Post
clagnol
post Oct 15 2005, 10:09 PM
Post #5


Advanced Member
Group Icon

Group: Members
Posts: 102
Joined: 21-August 05
Member No.: 8,003



How about Firefox? I never hear embedded music with Firefox, so I assumed the same was true with all other Netscape browsers.
Go to the top of the page
 
+Quote Post
pat23
post Oct 15 2005, 10:54 PM
Post #6


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 48
Joined: 12-October 05
Member No.: 9,067



the:

<bgsound src="yourmusicfile.mid" loop="infinite">

sound part works with firefox.
Go to the top of the page
 
+Quote Post
destinedskater
post Oct 17 2005, 05:34 PM
Post #7


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 14
Joined: 11-October 05
Member No.: 9,041



Ok thanks for the code that wbe very useful.

Also what you said about people not wanting it there i must agree like you i listen to music and so does everyone else i know so haveing you say that has made me realise that !! i will not use it .

Thanks all!!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. WebSite Development and Management Tools(10)
  2. Best Ad Placement on a Website(18)
  3. Making A Cool Website(9)
  4. Starting A Website(16)
  5. E107 Website Portal Software(0)
  6. Website Design And Development(13)
  7. Website Layout(10)
  8. For Website Review - Read First(0)
  9. Website Templates(13)
  10. Building A Website(39)
  11. Website Acting Up On Me(7)
  12. Website Poll(4)
  13. Looking For Free Software To Build Website(17)
  14. Css Vs Xslt Vs Smarty Vs Other : What To Use ?(3)
  15. Flash Music Player On Website(2)
  1. Need Help In Designing My Website.(1)
  2. Need Help / Ideas With My Website Makeover(5)
  3. Questions About This Website/topic Page(1)
  4. Adding Static Content To Website...(9)
  5. Program To Design Your Website(21)
  6. Website Template Design Tutorial(0)
  7. Testing A Website Design(6)
  8. Music Into A Website ?(9)
  9. Preview Your Website In Ie From Non-windows Os(3)
  10. A Website(8)
  11. Web Developing Software(16)
  12. Website Navigation Hover Buttons Stick So Made Css Today(7)
  13. I Need A Template For A Website(9)


 



- Lo-Fi Version Time is now: 13th October 2008 - 12:59 AM