website design software india
Home Contact Website Design/softwares Free Downloads/Softwares Free Templates Articles

Free copy paste code to use Ajax and play media or music on your site!

Below is a copy paste code you can use on your site to play media content, like Music files. Supported file types are:
  • Music files MIDI,
  • Music files MP3,
  • Music files WAV etc.
It loads the default plugin which is set on listeners computer to play the music file. Supported browsers are:
  • Internet explorer. (Microsoft),
  • Mozilla,
  • Opera 8.0+, Firefox, Safari.
Uses Ajax to play the music on the same page, without refreshing. A sample of Ajax music player is here. 15 music files loaded.

Here's the copy paste code:

Note: Do not forget to add your music files to the code below before pasting it on your site. You can do this by simply adding option fields in the simple HTML drop down box.
<OPTION VALUE="File.mp3"> File 1</OPTION>

People will see File 1 in drop box, and when they click the play button, the file named file.mp3 will be played. You can add as many as you like!

Click in the box to highlight, right click to copy.

This is how it looks:

This has 1 file, you can add as many as you like in the same player. Borders will not be seen on your site. Only the player inside borders will appear on your site.

Please STOP the playing file before playing another one.

Select Music:
.