How To Add Background Music To Your Web Page
Adding background music to the web page is the latest trend in the Internet world. Many sites, especially meant for teens and the youth, have come out with background music to hold the viewer’s attention for long. Surfing the net becomes exciting when some good music is played in the background. However, the fact is music is not appreciated by all. Before you add music to your website, remember that the music may be disturbing and annoying to some. Hence consider the following facts before you decide to add background music to your web page.
It has been observed that many people click the back button on hearing a sudden bang of music. Adding inappropriate music can also be responsible for this. You should keep in mind that not everybody accesses the Net from home. There are people who access the Net sitting in a cybercaf, or library, or their office. Music can simply restrict such people from viewing your website. Your website may have a large number of viewers, but it doesnt mean they all will still stick with you with the added bang of music.
To be on the safe side, you can always provide the visitors with an option where they can click on a link if they want to listen to music. This will best suit the interests of visitors. When the mouse pointer clicks on the link and you want the music to play, you need to put an HTML code like this Play background music. This code will work for wav and MP3 files extension. However, with embedded music there is a potential problem as every browser has its own method of implementing music. Hence you need to be sure about the software to be used.
When you upload your music file, remember many a time the music wont play automatically and hence you need to test it before you put it up. The browser needs to know how to run the file and hence you need to give the right commands by using the correct code. You need to make sure the server has correctly configured the code. Choose a good web host that supports music download. Make sure your website has enough space to download music and is not going to run out of space. Ideally you may go for a short piece of music, which would not take too much space.
Always make sure you have valid rights for the music file before you upload it. You need to modify the HTML codes to match your server so be aware of the same. You need to give commands for the file as to when it can begin. If you have commanded for the music to play automatically, it will start off as soon as your website page is downloaded. However, if you have a link to click for the music to start, you need to give commands accordingly. You also need to let the file know as to how many times the song should play or should it move on to another piece of music automatically.
Depending upon the browser you need to use softwares that make it easy for the music to play. However, it is always better to let the visitor decide whether or not to play the music. This is because you never know where the visitor may be sitting at the time of visiting your website.