Hey,
there is a new cool flash widget (default size 200x80 pixel) to display your station statistics on your website. It' easy to embed cause you only need to copy and paste the code to your pagesource and modify one parameter (your Streamer station ID). It auto refresh station info
every 3 minutes.
Changelog: list of changes
Example page: http://www.streamerp2p.com/widget.htmlCode:
<!-- Code start, Station KMeat -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="200" height="80" id="streamer_widget" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://streamerp2p.de/widget/widget2.swf?id=db22d79e379e7890" />
<param name="menu" value="false" />
<param name="quality" value="best" />
<param name="bgcolor" value="#cccccc" />
<embed src="http://streamerp2p.de/widget/widget2.swf?id=db22d79e379e7890" menu="false" quality="best" bgcolor="#cccccc" width="200" height="80" name="streamer_widget" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
<!-- Code end, Station KMeat -->
There are two parameters:required: ?id=<your_station_id>replace
<your_station_id> with your Streamer station id! You have to edit two lines of the code.
Code:
<param name="movie" value="http://streamerp2p.de/widget/widget2.swf?id=db22d79e379e7890" />
and
Code:
<embed src="http://streamerp2p.de/widget/widget2.swf?id=db22d79e379e7890 ...
optional: &msg=<your_message>replace
<your_message> with your customized message to override the "now playing" info from the yp. You need it for example if your station has no metadata (no now playing info) and you want a nice message instead a empty field. You can dynamicly feed this widget from your playout system as well. Add the $msg= parameter directly after the station id.
Code:
<param name="movie" value="http://streamerp2p.de/widget/widget2.swf?id=db22d79e379e7890&msg=hello this is a test" />
and
Code:
<embed src="http://streamerp2p.de/widget/widget2.swf?id=db22d79e379e7890&msg=hello this is a test ...
Customizing background color of the widgetThat's simple. Just replace all
bgcolor values in the code example above (#cccccc values) and enter your page background color there. The applet has a transparent background and you can customize it to match your station layout.
Code:
<param name="bgcolor" value="#cccccc" />
and
Code:
<embed src="http://streamerp2p.de/widget/widget2.swf?id=db22d79e379e7890" menu="false" quality="best" bgcolor="#cccccc"
Example Page:Here you can see some examples. Look at the page source if you want:
http://www.streamerp2p.com/widget.html