MP3 Player

 

Installing iRadeo.

Please follow these 5 simple steps to install iRadeo on your web site:

Step 1: Unzip iRadeo file package and edit config.php file using any text editor.

<?php
// (c) iRadeo.com

// Your Player Title
$title = 'Player Title';

// Label Display Feature
// Display labels inside player.
// Set any label to '' to hide it.

$labels = array(
'song' => 'Song',
'artist' => 'Artist',
'album' => 'Album'

);

// Absolute path or full path to your mp3 directory.(eg: /absolute-path/mp3s/)
// If you need assistance, request this information from your web hosting provider.

$mp3_dir = '/absolute-path/mp3/';

// Public address for your audio folder.
// If you need assistance, request this information from your web hosting provider.

$http_path = 'http://www.your-domain.com/iradeo/mp3/';

// Shuffle Mode Feature
// Enabled - Streams files randomly from specified directory.
// Disabled - Sorts files alphabetically by filename/pathname and play sequentially.
// Enter true to enable or false to disable feature.

$shuffle = true;

// Skip Feature
// Limits the number of skips before having to stream one whole audio file.
// Unlimited skips: -1
// No skipping: 0
// X Skips (then must listen to entire audio): 1+

$skip_limit = 5;

// File Type Supported
// DO NOT EDIT
// Only .wav and .mp3 will work.

$playable = array('mp3', 'wav');

// Auto Play Feature
// Enabled - Streams files automatically when web page loads.
// Disabled - Requires users to click on play button to start streaming.
// Enter true to enable or false to disable feature.

$auto_play = true;

?>

Step 2: Upload all files and folders to your web server.

Step 3: Upload all your audio files to your specified folder.

Note:
Before you upload your MP3 / WAV files, make sure the file names don't contain any brackets, ampersands, and/or other non-alphanumeric characters. Dashes (-) and/or underscores (_) are okay.

Step 4: Edit, copy, and paste the following code in any section of your web site to start streaming your audio files to your public.

  • You may edit all sections highlighted in red.
  • Copy and Paste code between <body>below code goes here</body>
<script type="text/javascript" charset="utf-8">

playerWidth = 451 playerHeight = 300

</script>
<script type="text/javascript" src="http://www.your-domain.com/iRadeo/js/loader.js"></script>

Step 5: You're done! Enjoy streaming.

 

Absolute path or full path.

An absolute path or full path is a unique location of a file or directory name within a computer or filesystem, and usually starts with the root directory or drive letter. Directories and subdirectories listed in a path are usually separated by a slash /.

To find the absolute path, copy the text below into a new text file, save the file as path.php.
Then open it in a Web browser (for example, http://www.your-domain.com/path.php).

 <?php   $p = getcwd();   echo $p;   ?>

 

I only see "Connecting..." for song, artist, and album; nothing is playing.

This is most likely because of two reasons.

1. One is your absolute path is configured incorrectly. Check again and verify it's the correct path.

2. The second is because your audio files have characters that the application is having trouble reading. Try removing characters such as brackets, ampersands, and or other non-alphanumberic characters. These characters are okay - and _.

Wrong:
Jackson & (featuring Carey) - Beautiful World.mp3

Correct:
Jackson featuring Carey - Beautiful World.mp3

< OR >

Beautiful World.mp3

 

Supported file formats.

 Currently iRadeo only supports MP3 and WAV file formats. Any other formats will not work.

 

Live streaming.

iRadeo does not support live streaming at this time. We are working on including this feature for future releases.

 

Customizing the player.

 Customize the player by editing the single CSS file located here >> css/player.css

 
© 2010 iRadeo