Google Answers Logo
View Question
 
Q: website ( Answered 4 out of 5 stars,   0 Comments )
Question  
Subject: website
Category: Computers > Internet
Asked by: maxi_prince-ga
List Price: $20.00
Posted: 22 May 2004 08:01 PDT
Expires: 21 Jun 2004 08:01 PDT
Question ID: 350351
How can i play music in my site,I'm useing freeservers.com.
Answer  
Subject: Re: website
Answered By: palitoy-ga on 22 May 2004 08:51 PDT
Rated:4 out of 5 stars
 
There are a number of different ways that you can add music to your
website but this is the most common one and the one that allows music
to be played acorss the most common browsers.

First of all it is best for your music file to be in either .wav or
.mid format before going any further.  This can be done with a number
of freeware software packages (if you do not have a package that can
convert your filetype to one of these, please ask for clarification
and I can recommend a free package that can do this).

Next you simply need to add the following lines to your webpage:

<embed src="musicfile.wav" autostart="true" loop="true"
width="2" height="0">
</embed>
<noembed>
<bgsound src="musicfile.wav" loop="infinite">
</noembed>

The musicfile.wav should be the filename and path to your file and
will need to be edited.

This solution works in Netscape, IE and Opera browsers.  Autostart
means that the music starts as soon as the visitor gets to your site
(change this to autostart="false" to change this), loop="true" or
loop="infinite" means that the music will play over and over (change
this to loop="false" to only play the music once).  The height and
width values determine whether or not the player will be visible or
not.

Adding this code to your site should enable you to play music on your site.

It should be noted here that you should have the permission from the
copyright owners to play the music before adding it to your site.  It
should also be noted that many internet users *HATE* music playing on
sites and boycott sites that do play it!

Further information can be found here:
http://www.thesitewizard.com/webdesign/backgroundmusic.shtml
http://www.2createawebsite.com/enhance/adding-music.html
http://thewizardof.bravehost.com/music.html

If you have any questions or queries regarding this answer please post
a clarification request before posting a rating for the question.  I
want to make sure you are fully satisfied with the answer.
maxi_prince-ga rated this answer:4 out of 5 stars and gave an additional tip of: $10.00
Thanks alot.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy