I use icecast2 server into a Linux mpriki 2.6.26-2-686 #1 SMP Mon Jun 21 05:58:44 UTC 2010 i686 GNU/Linux (lenny distribution)

I have install icecast2 using this instructions..

Now to embed my streaming into my page i use the following code:

<OBJECT ID="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab# Version=5,1,52,701" STANDBY="Loading Microsoft Windows® Media Player components..." TYPE="application/x-oleobject" width="280" height="65">
<param name="fileName" value="http://dap.ntua.gr:8123/live.m3u">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="Volume" value="300">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="http://dap.ntua.gr:8123/live.m3u" name="MediaPlayer1" width=280 height=65 autostart=1 showcontrols=1 volume=-300>
</OBJECT>

This code works well but has many disadvantages:

  1. Many client's doesn't have windows media player plugin
  2. I can't see metadata (title of song,etc) info into my site

So i found this link witch have instructions of how can i embed my stream with flash player

The link above says:

  • his code works ONLY with Fast Serv FLV enabled Icecast servers (Icecast KH). Icecast KH send special headers for Flash players and
    have the correct crossdomain.xml and frame alignment required by
    Adobe. This code WILL NOT work with standard Icecast servers or other non-FLV compatible servers.
  • Use only standard sample rates: 11.025, 22.05, or 44.1KHz only. Flash doesn't understand other sample rates.

So what changes i must do for embeding flash player into my page?

PS1: i use sam broabcaster, encoding is mp3 and rate is 128kbps

link|improve this question
feedback

migrated from serverfault.com Dec 31 '11 at 17:00

This question came from our site for system administrators and desktop support professionals.

closed as off topic by studiohack Dec 31 '11 at 19:49

Questions on Super User are expected to generally relate to computer software or computer hardware, within the scope defined in the faq.

Browse other questions tagged or ask your own question.