Welcome to the iMore Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 2 of 2
  1. Thread AuthorThread Author   #1  
    paulstolk's Avatar
    iPhone Nanite

    1 Posts

    Exclamation Web app streaming radio

    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:
    <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
    OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"' 
    	'HEIGHT=93 WIDTH=300><PARAM NAME="src" VALUE="http://shoutcast2.omroep.nl:8100' 
    3 option

    <object CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320" height="100" 
    <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>
    4 option

    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>
    thanks a lot
  2. #2  
    avatar test's Avatar
    iPhone Beginner

    74 Posts
    Global Posts
    103 Global Posts


    Did you get the help you needed? Are you still working on it? I'm willing to help.

Posting Permissions