A Flash player and Steamcast, wanna have? Free!

Steamcast is a stand alone server that combines the features of SHOUTcast and Icecast2 and more to make one mega awesome server.
Post Reply
board
Posts: 11
Joined: Thu Jan 18, 2007 12:05 pm

A Flash player and Steamcast, wanna have? Free!

Post by board » Sat Dec 22, 2007 12:46 pm

For a long time now I created a Flash player for Steamcast RAW data streams, wanna have?

I can create a default player where you can add the Steamcast server IP and port, but I only do this if some of you really need this for your site.

No, I won't charge you like all the other guys, I still believe in Open Source.

Let me know!

Cheers,
Mark
Woozy Internet Radio

User avatar
Jay
Will work for food (Administrator)
Posts: 2867
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay » Sat Dec 22, 2007 4:46 pm

Awesome offer for the holidays. :)
- Jay

board
Posts: 11
Joined: Thu Jan 18, 2007 12:05 pm

Post by board » Sun Dec 23, 2007 1:45 pm

Flash player for Steamcast RAW data streams, free!

Indeed ! :lol:

So be it, I finished the player, you can download the package.

Example:
Image

The package is with the README.txt file, read it to setup the player with SteamCast (and only SteamCast lol)

The manual:
***************************************
* Free Flash Woozy.nl Radio Player *
* ----------------------------------- *
* Free, provided by Mark (alias board *
* on http://forums.radiotoolbox.com) *
* --------------2007----------------- *
***************************************

Example live: http://www.woozy.nl/FreeWoozySteamCastRadio.html

+++++++++++++++++++++
Version 1.0
No change history yet
+++++++++++++++++++++

What you need:
1) Steamcast with a mount point to RAW data for Flash
2) The Flash radio player
3) The config file raw.txt

What you need to do:
1) Change the config file raw.txt with your settings (server IP, Radio Station name, see example)
2) Add the Flash radio to a HTML document (or PHP)
3) The Flash Radio Player & raw.txt should be in the SAME directory



SteamCast example:

Code: Select all

; SourceRawKey: Set this variable to the key you would like passed in a parameter string to access
; the raw data stream in HTTP form.  This is great for things such as Flash.  If you use the example
; below then access to the raw data stream (unprotected by user-agent filters) can be obtained by passing
; http://localhost:8000/mountname.mp3?rawdata to the player, as always substitute the address with your
; specific implementation.  Leaving this option blank or commented disables this capability.
SourceRawKey=rawdata

Example raw.txt :

Code: Select all

&mylink=http://fulldomainname.com:8000/live?rawdata&mystation=Your Station Name
Change only the domainname (with port and mountpoint) and your station name.



HTML file example to embed flash:

Code: Select all

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="200" height="194" title="Free Flash Woozy.nl Radio Player">
    <param name="movie" value="/FreeWoozySteamCastRadio.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#ffffff" />
    <embed src="/FreeWoozySteamCastRadio.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="200" height="194"></embed>
</object>
NOTE: Change background color in <param name="bgcolor" value="#ffffff" /> (to fit your page)


If you have questions, go to http://forums.radiotoolbox.com
Maybe I will change or add functions in the future, watch the forums

Have fun!

Cheers, Mark

DOWNLOAD ZIP (19Kb)

Thanks SteamCast Team for making this possible!

board
Posts: 11
Joined: Thu Jan 18, 2007 12:05 pm

Post by board » Tue Dec 25, 2007 1:55 am

So, a few days later and a lot of downloads... 8O

but what do you think? Does it work for you?

Thanks for the reply :wink:

Klaatou
Posts: 7
Joined: Tue Jun 13, 2006 4:32 pm

Post by Klaatou » Sun Jan 13, 2008 1:56 pm

Thank you for thr Xmast gift ;) I find it only today.
it seams nice, I will try it !

Lane
Posts: 152
Joined: Mon May 09, 2005 4:16 pm

Post by Lane » Sun Jan 20, 2008 12:26 pm

test it right now. first impression. Good! Seems to work great, although I've only run it for about 10 minutes so far.

I would personally make some superficial changes. Mainly to make it more obvious to start it, perhaps through a big play button in the middle. It wasn't obvious how to start it at first, and I know this will confuse some of my listeners.

And when I adjust the volume, the control sticks to the mouse, until I click it off again. In otherwords, if I click, drag, release, hovering over the flash makes the volume still move. I need to click it off. I don't know if this is a flash quirk or if you can control that, but it's also something that would trip up some listeners.

Lane
Posts: 152
Joined: Mon May 09, 2005 4:16 pm

Post by Lane » Mon Jan 21, 2008 10:53 am

I'm having a problem I always have with flash players. After a certain period of time, the browser either locks up or crashes. It's probably related to how much cache/buffer space flash is allowed to have, and when it's filled, bonk. In my tests with a 128kbps mp3 steamcast feed, I get a little over 3 hours before this happens. I've reproduced it 3 times now.

This isn't unique to your player, but since you're the first developer I've had the ear of, I wonder if you can solve this problem. As I've stated before, I think it's basically filling up a buffer and ungracefully handling that, not that I really know why. Is it possible to handle receiving the stream in a way that clears out the old data?

If you could solve this issue, you'd have an extremely useful player, and my adoration! :)

Klaatou
Posts: 7
Joined: Tue Jun 13, 2006 4:32 pm

Post by Klaatou » Mon Jan 21, 2008 3:04 pm

Hello

I tried to use the player on a steamcast used as a shoutcast relay but was not able to have anything :(

can you help ?

thx

IDGT
Posts: 13
Joined: Fri Apr 28, 2006 10:40 am

FLA???

Post by IDGT » Wed Feb 13, 2008 4:06 pm

Any chance on getting a copy of the FLA file for tweaking?

tommyinnn
Stream Host
Posts: 1
Joined: Fri Oct 16, 2009 9:34 am
Contact:

Re: A Flash player and Steamcast, wanna have? Free!

Post by tommyinnn » Fri Oct 16, 2009 9:50 am

Hey guys, I've found a nice little flash player fenerator for your website, check it out http://myautodj.com/flash_player_generator.php

Post Reply