Flash Radio for WordPress and other websites

Hohoho, it’s Christmas day soon!! As many people ask me how to do a radio like mine in the sidebar, I will share it here!
Slide Radio

It’s just the flash player of neolao and I have make a little script in php to parse the content of a folder on my ftp to found the mp3s.

Here the source : Flash Radio
Here the instructions :

  1. First, you must adjust some variables (the path) in the playlist.php. From here, we consider that you have chosen http://YOUR_ROOT/audio/
  2. You can also adjust height, colors, etc… in playlist.php and index.htm considering the syntax of neolao.
  3. Then upload the folder audio on your FTP according the path you have set in playlist.php. The files MUST be in http://YOUR_ROOT/audio/ in our case.
  4. To display the player in your page you must use a syntax like like I give in the Readme. Be careful to change every http://YOUR_ROOT/audio/ by the one you use. Here again, you can adjust height, colors, etc… considering the syntax of neolao
  5. Upload mp3′s in the folder http://YOUR_ROOT/audio/. Nothing else to do!

Hope it will help you!
Maybe I will do in the future a little widget for wordpress to simplify the use of this radio.


C’est bientôt Noël! Et comme beaucoup de monde me demande comment faire une radio en flash comme la mienne, voici mon cadeau.

Il s’agit juste du flash player de neolao auquel j’ai adjoint un petit script php pour parser le contenu d’un dossier ftp pour trouver les mp3.

Voilà les sources : Flash Radio
Et les instructions :

  1. Premièremement, ajustez quelques variables (the path) dans playlist.php. On considérera que vous voulez mettre vos mp3 dans le dossier http://YOUR_ROOT/audio/
  2. Vous pouvez ajuster les dimensions, les couleurs, etc… dans playlist.php et index.htm en faisant attention à la syntaxe du player de neolao.
  3. Uploadez le dossier audio sur votre FTP à l’adresse que vous avez mis dans playlist.php. Donc ici les fichiers doivent être dans http://YOUR_ROOT/audio/
  4. Pour afficher le player dans votre sidebar, vous devez utiliser une syntaxe comme celle que je donne dans le fichier readme. Attention de bien changer tous les http://YOUR_ROOT/audio/ par l’url que vous utilisez vraiment. Là encore, vous pouvez ajustez les dimensions, couleurs, etc…
  5. Uploadez les mp3 dans le dossier http://YOUR_ROOT/audio/ . C’est fini!

En espérant que ça vous soit utile!
Peut être que je ferai dans l’avenir un petit widget WordPress pour faciliter l’usage de cette radio.

Articles pouvant vous intéresser

14 réponses à “Flash Radio for WordPress and other websites”


Laisser un commentaire

XHTML: Vous pouvez utiliser ces balises: <a href="" title=""> <img src="" alt=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


;) :| :p :oops: :o :mrgreen: :lol: :evil: :D :-x :-/ :) :( 8-O 8)