Standalone version #

The standalone version comes with a JavaScript file to simplify configuring and embedding the player. This file includes the  swfobject 2.1(http://code.google.com/p/swfobject/) library.
Note: the zip file includes two other files:

Installation and usage #

  1. Download(http://209.85.173.132/download.htm) the zip file
  2. Extract and upload the files to your server (only two files are required: audio-player.js and player.swf)
  3. Include the audio-player.js file in the HEAD section of your html page
  4. Still in the HEAD section, setup Audio Player as seen in the example below (the only required option is width)
  5. To insert a player on the page, place an HTML element (a P tag in the example but it can be anything) and give it a unique ID
  6. This element will be replaced with a player. If the browser doesn’t support Audio Player, the element will not be replaced so use it to show alternative content (maybe a message telling the user to download Flash)
  7. Insert the script tag after the element as shown below

Example #

Ensure you replace “http://yoursite.com/path/to” with the correct paths to all files.

<html> <head>
<title>Your website</title>
...