![]() |
|
|
If you are using a text editor in order to code the pages of your website – that is, instead of using a web editing program that has buttons for all of your options, and creates the code for you – background music may seem to be somewhat of a mystery to you. After all, it isn’t just as simple as pushing the “background music” button. However, this doesn’t mean that it is out of reach.Before getting to the coding, though, you’ll want to decide if you really want background music on your website. There are a few issues to be considered here. Some visitors will find that background music that begins automatically while the webpage loads is very pleasant. However, others find that a sudden blast of music that unexpectedly blares out of their computer speakers (because the volume is turned way up from the last sound task they performed) may cause them to automatically close the screen or hit the back button to get away from all the racket. Business - Directory of business/finance/loan/mortgage related partner sites Computers - Directory of computer hardware/software/peripheral related partner sites Internet - Directory of webhosting/webdesign/internet marketing related partner sites Software - Directory of software related partner sites Web Design - Directory of web design/development related partner sites Web Hosting - Directory of web hosting related partner sites Web Promotion - Directory of search engine optimization/internet marketing related partner sites Web Resources - Directory of other web related partner sites Recreation - Directory of travel/hotel/cruise related partner sites Casino - Directory of online gambling/poker/blackjack/roulette related partner sites Health - Directory of online pharmacy/hospital/health related partner sites Shopping - Directory of online shopping/gift related partner sites Miscellaneous - Directory of all other partner sites If you want to actually embed the music in your website – that is, have it play automatically when the person enters the site, and not give them control over its playing –then things become a bit more complex. For one thing, different browsers have their own way of working embedded music files. Now, this may seem to have been simple enough, however, sometimes, for some reason, this doesn’t always work. If the music doesn’t automatically play in Internet Explorer 3.0+ or Netscape, it could be possible that your web server isn’t providing your browser with the correct MIME type. Therefore, you need to tell your browser how to handle the file, and to do this, your server needs to be configured for sending the correct information about that file. For example, in the case of a MIDI file, your server should send your browser a “Content-Type” header that states “audio/midi”.
|
| © Copyright 2006 WebAndFlow.net All Rights Reserved. |