Index of /andypoon21

      Name                    Last modified       Size  Description

[DIR] Parent Directory 01-Mar-2008 00:06 - [IMG] 311892.gif 27-Oct-2005 06:00 33k [IMG] Bashetball.bmp 15-Dec-2005 05:20 788k [IMG] MJ.jpg 16-Feb-2006 06:52 40k [IMG] PB220033.JPG 23-Nov-2005 03:46 1.1M [IMG] PB220034.JPG 23-Nov-2005 03:46 981k [IMG] PB220035.JPG 23-Nov-2005 03:46 1.1M [IMG] Picture0005.jpg 25-Jan-2006 07:38 132k [IMG] Picture0006.jpg 25-Jan-2006 07:38 126k [IMG] Picture0007.jpg 25-Jan-2006 07:38 165k [IMG] Picture0010.jpg 06-Mar-2006 06:44 214k [IMG] Rodman.bmp 23-Jan-2006 04:35 495k [IMG] Rukawa.gif 19-Mar-2006 05:43 142k [IMG] SlamDunk10.jpg 12-Oct-2005 04:29 11k [IMG] SlamDunk12.jpg 29-Oct-2005 06:50 100k [IMG] SlamDunk23.gif 12-Oct-2005 04:27 945k [IMG] SlamDunk7.jpg 28-Oct-2005 07:36 6k [IMG] Tracy1.jpg 22-May-2006 08:35 235k [IMG] Twins.jpg 11-Sep-2006 01:56 327k [IMG] Wallace-6.jpg 23-Jan-2006 04:34 172k [IMG] Wallace1.jpg 22-May-2006 08:35 207k [IMG] airjordan.jpg 05-Oct-2005 03:55 162k [IMG] bulls.jpg 16-Feb-2006 06:50 161k [IMG] jWill.jpg 10-Jan-2006 05:42 122k [IMG] joc_05_mj_03.jpg 14-Dec-2005 03:41 151k [IMG] jordangoatcollab.jpg 16-Feb-2006 06:52 230k [   ] mp3player.fla 07-Sep-2006 07:49 216k [TXT] mp3player.html 07-Sep-2006 07:49 1k [   ] mp3player.swf 07-Sep-2006 07:49 8k [   ] mp3player.xml 07-Sep-2006 07:50 1k [IMG] n228tl.jpg 16-Feb-2006 06:53 46k

HI GUYS

thanks for downloading my flash mp3 player. the player supports various playmodes, 
streaming playback, playhead scrubbing, an xml playlist and an equalizer. An 
iPlayer skin is yet available, and creating your own skin is just a matter of 
changing the symbols.



INSTALLING

first put the mp3 files you want to include in the "mp3" folder. then open the 
"mp3player.xml" file with Notepad or another text editor. the file looks like this:

  <?xml version="1.0" encoding="UTF-8"?>
  <player showDisplay="yes" showPlaylist="no" autoStart="yes">
    <song path="mp3/homeland.mp3" title="Postmen - Homeland" />
    <song path="mp3/jazzalude.mp3" title="Basement Jaxx - Jazzalude" />
  </player>

in the second line there are three settings you can make:
- if the display should be open on startuup. you can insert "yes" or "no".
- if the playlist should be open at starttup. you can insert "yes" or "no".
- if the player should autostart at starttup. you can insert "yes", "no" or 
  "random" (to start a random song. every next song will also be random).

the next two lines are for the two songs i included by default. you should make a 
similar line for every song you want to have in the playlist. the "path" is always
the path from the player to your mp3 file. the "title" is where you can give the 
song the title that displays in the mp3player. please do not use spaces or special 
characters in the "path" and also no special characters in the "title".


after saving and closing the mp3player.xml file, you can copy everything to your 
website. put it all into the same directory as your html page. then copy-paste this 
code to your html page on the place you want the mp3player to appear:

  <object type="application/x-shockwave-flash" data="mp3player.swf" 
    width="280" height="280" wmode="transparent">
  <param name="movie" value="mp3player.swf" />
  <param name="wmode" value="transparent" />
  </object>



VARIABLE 

there is one variable you can set in html: the location of the playlist. this is 
handy if you want to use multiple playlists for the mp3player. suppose you have a 
file called "alternate.xml", the code will be this:

  <object type="application/x-shockwave-flash" data="mp3player.swf?playlist=alternate.xml" 
    width="160" height="210" wmode="transparent">
  <param name="movie" value="mp3player.swf?playlist=alternate.xml" />
  <param name="wmode" value="transparent" />
  </object>



INSTALLING INSIDE A FLASH MOVIE
 
you can just copy-paste the entire movieclip from mp3player.fla to your website. 
please put the player inside an empty movieclip or some errors might occur ! it 
should be easy to create a new skin for the flash mp3 player by editing the button
and background symbols. just make sure you leave the script, movieclip names and 
nesting intact.



HINTS

the mp3 player only accepts mp3 files (no  Shoutcast streams, OGG, WMV, M3U).
support for other audio formats is impossible. also, flash doesn't support vbr 
(variable bit rate) mp3 files. if you play vbr mp3 files, the playback will 
sound like a chipmunks version of your songs. the best way to encode mp3 files 
is to use a fixed bitrate of 64/96/128 kbps with a sample frequency of 22.05kHz 
and joint stereo.

the player is draggable, so if you include it in a big flash movie or html block, 
your visitors can move the player around.

Note that the xml playlists always should be on the same website as the mp3 player 
(security restrictions from flash). You can, however, link to mp3 files from different 
websites ! just include the full http:// address into the "path" variables of the xml.

if the display shows "NaN%" and the song doesn't start playing, there are two options.
first, your server can be too slow to stream mp3 files. try smaller mp3 files or 
another server. second (more probable),  the mp3player cannot find the mp3 files. 
are you sure the links in the xml file are ok ? try using the full "path" including
the http part for the songs. one song line in the xml might look like this then:

  <song path="http://www.jeroenwijering.com/uploads/homeland.mp3" title="Postmen - Homeland" />



LICENSING

This script is licensed under a Creative Commons License. 
(http://creativecommons.org/licenses/by-nc-sa/2.5/) It allows 
you to use, modify and redistribute the script as long as you use 
it non-commercially and credit me as the author. For commercial use, 
I distribute licenses of the script at a fee of 15 euros. Please 
contact me if you'd like to obtain one !



UPDATES

Soon: complete 2.0 rewrite of the player, incorporating lots of 
      suggestion made by you guys !
1.1:  some bugfixes and addition of random and autoplay vars.



SUPPORT

Check out my Flash MP3 Player Forums for questions or hints regarding 
this script.



GOOD LUCK

www.jeroenwijering.com
mail@jeroenwijering.com