Hello,
I’m new to PHP and Flash. However I can find my way around PHP and Flash.
I have an idea and I want to know the best way to implement it. I want to create a Shoutcast Flash Player, that will play a Shoutcast stream. Some of the things that I’ve noticed that don’t seem to come with the free version that provide source is:
-Reconnect on stream termination.
-Current Song/Title.
I have been able to implement this somewhat. I have been using the ‘wimpyplayer.com’ for the streaming online, however if the stream kicks off then the player dies and the whole page needs to be refreshed. The current song/title is taken from the Icecast .xls status file and is just parsed, but not updated unless the user updates it.
I know it would be a task to re-create the player on my site. This will involve a lot of coding and learning how flash would handle the stream. This will be basically me learning everything that I don’t know about flash and thats pretty much everything except for drawing a box and making it move.
The current song and title problem, seems to be fairly easy. However, it needs to be something that all web based players are sent and not a query from the web based players. Imagine 200 web based flash players continually requesting song information every 5 seconds or 10 seconds, it would cause some load problems.
Just wondering what I should do, I’m kinda lost at this point.