1. paulstolk's Avatar
    I'm working on a web app (dutch) to play streaming radio on your iPhone.

    But i dont know the right html code to embed a shoutcast or icecast stream

    can someone help me? see Iphoneradio.nl - Radio 1

    ( i don't have a iPhone so i can't test it myself)

    the stream is: http://shoutcast2.omroep.nl:8100

    1 option:
    Code:
    <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"              CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"                    WIDTH="320" HEIGHT="50" >                    
              <PARAM NAME="src" VALUE="icy://shoutcast2.omroep.nl:8100" >                    <PARAM NAME="autoplay" VALUE="true" >			                    <EMBED PLUGINSPAGE="http://www.apple.com/quicktime/download/"                    SRC="UNeedQT.qtif" TYPE="image/x-quicktime"                    WIDTH="320" HEIGHT="50"                    QTSRC="icy://shoutcast2.omroep.nl:8100"                    AUTOPLAY="true" >              </EMBED>            </OBJECT
    2 option
    <
    Code:
    OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"' 
    	'CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"' 
    	'HEIGHT=93 WIDTH=300><PARAM NAME="src" VALUE="http://shoutcast2.omroep.nl:8100' 
    	'<PARAM NAME="AUTOSTART" VALUE="True"></OBJECT>
    3 option

    Code:
    <object CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320" height="100" 
          CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
    <param name="src" value="http://shoutcast2.omroep.nl:8100">
    <param name="qtsrc" value="http://shoutcast2.omroep.nl:810">
    <param name="autoplay" value="true">
    <param name="loop" value="false">
    <param name="controller" value="true">
    <embed src="sample.mov" qtsrc="http://shoutcast2.omroep.nl:8100" width="320" height="100" autoplay="true" loop="false" controller="true" pluginspage="http://www.apple.com/quicktime/"></embed>
    </object>
    4 option

    <
    Code:
    OBJECT classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' width="320"
            height="100" codebase='http://www.apple.com/qtactivex/qtplugin.cab'>
              <param name='src' value="qtlogo.mov">
              <param name='qtsrc' value="rtsp://http://shoutcast2.omroep.nl:8100">
              <param name='autoplay' value="true">
              <param name='controller' value="false">
              <param name='loop' value="true">
              <EMBED src="qtlogo.mov" qtsrc="rtsp://http://shoutcast2.omroep.nl:8100" width="320" height="100" autoplay="true" 
            controller="false" loop="true" pluginspage='http://www.apple.com/quicktime/download/'>            </EMBED>
            </OBJECT>
    thanks a lot
    09-27-2008 06:49 AM
  2. avatar test's Avatar
    Did you get the help you needed? Are you still working on it? I'm willing to help.
    10-25-2008 08:22 AM
LINK TO POST COPIED TO CLIPBOARD