Adding Music to a Website or Template

You can add a sound player console or a musical background to your template, we have provided code you can copy on this page. You can use .midi .wav .mp3 or many other file types. Be sure to read the "Notes" at the bottom of this page.

NOTES: The following options have been set to work in most popular browser but were not tested on a Mac. For the highest compatibility it is recommended that you use one of the Flash players suggested on this page.
xmp3 mini Flash mp3 player

Allwebco Mp3 Player Addons
Continuous website music, sound or video
xmp3mini Flash mp3 player

Option #1 - Background Sound
For simple background music in IE only use the following code:

<BGSOUND SRC="your-file.mid" LOOP="false">

NOTES: Active X Messages: In the newest version of IE you may want to add the code on this page into a .js file to stop "click to activate" messages. For help adding items to .js files click here. Or, you may want to view the Allwebco xmp3Player add-on for a simple skinnable mp3 player with no "Active X" issues or messages.

Option #2 - Background Sound (for mp3, wav, mid, au files)
For simple background music with javascript, compatible in most browsers use the following code. Be sure to edit "your-file.mp3" in two places with this code.





Option #3 - Quicktime Player (for mp3, wav, mid, au or video files)
To add a small Quicktime console, copy and paste the following code. Compatible in IE, Firefox and Netscape browsers. For Mac and PC as long as Quicktime is installed. Be sure to edit "your-file.mid" in two places with this code. Quicktime code may display messages about Active X controls in IE.






Option #4 - Windows Player (for mp3, wav, mid, au or video files)
To add a Windows Media console with a border as you see below: 1. Download the "S_script_music_WIN.js" and place this in your template folder. 2. Copy and paste the code below into any HTML page. Compatible in IE, Firefox and Netscape browsers. Be sure to edit "your-file.mid" in two places in this .js file. Can be used for video as well.

Click to download the .js file used for the WinMedia player.








Option #4B - Windows Player Page Code (for mp3, wav, mid, au or video files)
The following code may display messages about Active X controls in IE. To add a Windows Media console with a border as you see above, copy and paste the following code. Compatible in IE, Firefox and Netscape browsers. Be sure to edit "your-file.mid" in two places with this code. Can be used for video as well.








Option #4 - RealAudio Player (for mp3, wav, mid, au or video files)
You can add the realaudio player to any template. Click here for realaudio details, or copy the code below and paste it into your page.

Real Audio Non-Working Sample






Flash Players
Check out the Wimpy Flash Player website for many Flash player options.


Flash Welcome Message
See the "Skinnable Big Button" on the Allwebco Flash Applications page.


NOTES: Copy the above selected code and paste these lines into your webpage anywhere in the body of the HTML document. You can place it after the text in the page or anywhere else is fine. It is best to do this edit using Notepad or a Simple Text editor.


Related Topics:
Add a Music Popup
Bob's Mighty MIDI Site


Allwebco Template Support


Allwebco Website Template Support


Music For Websites
Royalty free music for website projects.
square-peach.com
Web Template Support
Free Mp3 Download
Download free mp3s for websites.
Allwebco-Templates


Continuous Website Music
Website addon for continuous webpage sound.
AllwebcoDesign.com
Web Template Support
Mp3 Musician Templates
Professional templates for any music style.
AllwebcoDesign.com
Web Template Support
Flash Mp3 Player
Skinnable mp3 Flash website player.
AllwebcoDesign.com
Web Template Support
Flash Video
Flash video .flv website player.
AllwebcoDesign.com





Flash Players
xmp3 Player
xmp3 mini Player

Add-Ons
Allwebco Add-ons



Square Peach Video and Website Music



Website Template Support
Website Template Support