Search code examples
phpjwplayerlive-streamingplaylist

JW Player, I am trying to create a live stream radio using existing mp3 files


I am trying to create a live radio using the existing mp3 files (I have the links saved in a MYSQL database). Using a player like jw player, or any player that can suit my needs. Is there any ways that a PHP script can generate a random playlist for a user and as he reach the end of that playlist, the script would generate another playlist and continue playing without stopping.

Thanks in advance for your help :)


Solution

  • You would use the JWPlayer Javascript API to update the file that's being played by JW.

    http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12540/javascript-api-reference