Web app streaming radio

Discussion in 'Jailbreaks and iOS Hacks' started by paulstolk, Sep 27, 2008.

  1. paulstolk macrumors newbie

    Joined:
    Sep 27, 2008
    #1
    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 http://www.iphoneradio.nl/iphone/zenders/radio1.htm

    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
     
  2. bbh macrumors newbie

    Joined:
    Dec 28, 2006
    #2
    I'm not being facetious, but AOL RADIO from the App Store does a very nice job of streaming Internet Radio.
     
  3. paulstolk thread starter macrumors newbie

    Joined:
    Sep 27, 2008
    #3
    Dutch radio

    Yes thats true, but they don't support dutch radio.
     

Share This Page