|
The EAR NANOBOTs are FREE Flash mp3 players developed by EARTH ACADEMY RECORDS Designed to be simple, minimalist and free of fuss, for use for playing mp3 audio on your websites. |
|
|
|
| (1) |
Upload the folder 'nanobot' to your website. |
| (2) |
Upload your mp3s to nanobot/mp3 folder. |
| (3) |
Edit your playlist file (config.xml) in the config folder by changing or adding mp3 URL's. You can save with any text editor to edit the xml file (MAC TextEdit & PC NotePad). eg. <song url="mp3/mymusic.mp3" /> |
| (4) |
Finally, go to: EAR_NanoBot.htm (or: yourwebsite.com/nanobot/EAR_NanoBot.htm ) |
| (5) |
It works! |
|
Controlling parameters:
config.xml The config file controls how your player functions.
Location of your mp3's. For ease of use, put your mp3s in the same folder as your Nanobot html & Nanobot flash players. eg: <song url="ANTIMATTERMAN_Manipulator.mp3" /> <song url="mp3/ANTIMATTERMAN_Manipulator.mp3" /> |
|
Volume level. |
|
config.xml
NOTE: Location of your mp3's. When calling mp3 files from another website such as myspace your mp3 paths need to be absolute. IE. you have to set in your config.xml the exact locations of your mp3: <song url="http://earthacademy.org/nanobot/mp3/ANTIMATTERMAN_Manipulator.mp3" /> |
| In our NANOBOT player HTML (e.g EAR_NanoBot.htm) we use 2 custom values: dn and cp dn = domain name : e.g. www.yourwebsite.com cp = config path : where the "config.xml" (mp3 playlist) is located. This is the line to edit for your own uses (e.g look in "EAR_NanoBot.htm") Flashvars="dn=www.yourwebsite.com&cp=myfolder" This is saying that your domain (dn) = www.yourwebsite.com and the location of your mp3 playlist ("config.xml") is located at: www.yourwebsite.com/myfolder In our example: To choose the type of Nanobot player you want to use, edit the first line of code: To change the size of Nanobot player you want to use, edit the second line of code: width="500" height="200" align="middle" bgcolor="Transparent" for example: width="50" height="20" or: width="100%" height="80%" |
|
FLASH has in-built security constraints, so if you want to place your NANOBOT player on MYSPACE or on different locations around the internet, you need a crossdomain.xml file placed at the root of your website, which allows MYSPACE to access your mp3s & playlist info (your config.xml). |