Instructional Links

 MP3 Player

VIDEO LINKS: [ mp3-player ] click to open video in a new window

if you are having troubles viewing the video's online, please download the video from the link below to view locally on your computer.

The download package includes a web page for viewing the video files, and several SWF or FLV video files.

Just download the zip file, extract, then double click on the 'web page' to view the video. 

VIDEO LINKS for download: mp3-player

 

Overview

The MP3 player provides a basic audio player for your flash landing page ( index.htm ). The player allows a user to turn it off or on, to skip to the next song, or go through the previous songs. If the MP3 file is encoded with the artist name, and song title in the id3 tag that information will be displayed dynamically. The addition of a volume slider control allows the visitor to increase or decrease the volume. The 'default' level is set to 25% of the total volume, so you do not over whelm your visitors if their speakers or headphones are turned all the way up. An animated equalizer plays along with each MP3 file. The EQ is not dynamically linked to the MP3 file so the 'bass' levels will not elevate during the 'bass' heavy sections in your MP3 file.

We designed the MP3 player to be as 'unfussy' as possible. Name your mp3 files in sequence, put into the mp3s folder, and edit a single text file to denote the total number of mp3 files you want to play. You do not require any special software to modify the MP3 player, or to add new files. ( keeping in mind, your web editor can not create MP3 files, nor convert an audio file into an MP3 format. You will need to provide the replacement files ).

The MP3 player is very easy to update, just 'save' your MP3 files to the {Site / flash / mp3s} folder. The MP3 files are played in sequential order, starting with ( mp3-0.mp3 ). A very specific 'naming' convention is used, and if your replacement files do not follow suit, the player will not work.

add a song

Let's break this down a bit, the file name for the mp3 file, consists of 3 parts:

mp3-1.mp3 breaks down to: 

( mp3-       all files will start with this )
( 1           this is the only part of the file name you would change )
( .mp3       the extension, no need to change )

The first file to be played, is ( mp3-0.mp3 ) followed by ( mp3-1.mp3 ) then ( mp3-2.mp3 ) ... for each additional file, just up the number

  1. We've included 6 default mp3 files

    mp3-0.mp3 / mp3-1.mp3 / mp3-2.mp3 / mp3-3.mp3 / mp3-4.mp3 / mp3-5.mp3

    ** note, there is a total of 6 mp3 files, but the 'sixth' mp3, is actually mp3-5.mp3, as Flash always starts a numerical 'count' that includes the number "0"
  2. once you've added or replaced the existing mp3 files, just count up the total number of MP3 files in the mp3s folder, then open the:
  3. {Site / flash / mp3s / tracks.txt} file, and change the "totalTracks=#" to reflect the number of files in the folder

remove a song

  • open the {Site / flash / mp3s} folder, and delete the mp3-#.mp3 file you want to
  • rename the remaining mp3 files, so they are listed in sequential order starting with mp3-0.mp3
  • {Site / flash / mp3s / tracks.txt} file, and change the "totalTracks=#" to reflect the number of files in the folder

change the 'autoplay' function

by default, the MP3 player is set to play automatically. You can change this setting in your web page.

  • open your index.htm page in CODE view
  • scroll down and locate the following code ( variable )

    var playMusic = 1;
  • change the 1 to 0
  • save

remove player from page

there is a special mp3.swf file, located in the {Site / flash / hidden} folder, just drag the mp3.swf file from the {hidden} folder, into the {flash} folder. This action will make the required changes, so the mp3 player will no longer be visible on your web page.