www.webdeveloper.com
Results 1 to 8 of 8

Thread: embeding a web radio

  1. #1
    Join Date
    Jul 2004
    Posts
    4

    embeding a web radio

    Hey there, I'm currently using the following code to embed a web radio into my site:

    Code:
    <embed src="http://station address" 
    
    width="180" height="70" mute="0" enablecontextmenu="1" showdisplay="0" 
    
    autostart="1" playcount="0" showaudiocontrols="1" showstatusbar="1" 
    
    showcontrols="1"> 
      </embed>
    This code basically integrates a windows media player window into my site. However, with this code, I can't link to sites with .pls files (ie. http://www.someradio.com/listen.pls). Could anybody tell me the code to embed that or is windows media player unable to read those .pls files?
    Thx

  2. #2
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,224
    Try going with something other then an http stream, it might help. rtsp, real time stream protocal might be better, RTSP://someradio.domain/
    http stream... you using nullsoft winamp shoutcast? I know media player can open it....

  3. #3
    Join Date
    Jul 2004
    Posts
    4
    I don't wanna use Real Player b/c most peeps don't have it and don't want it, whereas Windows Media Player 99% of the people have. I just know that when I link it to a http://www.address.com/listen.pls it doesn't play it in a Windows Media window . Any ideas?

  4. #4
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,224
    where did I say anything about real player? RTSP is a protocal, quick time and windows can handle it.

  5. #5
    Join Date
    Jul 2004
    Posts
    4
    Originally posted by PeOfEo
    where did I say anything about real player? RTSP is a protocal, quick time and windows can handle it.
    Ok, but still. Can you help me with the .pls embedding?

  6. #6
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,224
    Is this a shoutcast stream? I tried to play one with windows media player and it said format not supported. Try playing with the shoutcast configuration, there should be a faq on it somewhere, are you running the shoutcast server?
    Last edited by PeOfEo; 07-21-2004 at 09:00 PM.

  7. #7
    Join Date
    Jul 2004
    Posts
    4
    Originally posted by PeOfEo
    Is this a shoutcast stream? I tried to play one with windows media player and it said format not supported. Try playing with the shoutcast configuration, there should be a faq on it somewhere, are you running the shoutcast server?
    Yea, it's a shoutcast stream. I got the same the error in windows media player when trying to load one. And no, I'm not the one running the server.

  8. #8
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,224
    Originally posted by skyfx
    Yea, it's a shoutcast stream. I got the same the error in windows media player when trying to load one. And no, I'm not the one running the server.
    I have opened shoutcast in media player before, thats the weird part. I used to run a shoutcast server back in the day. But it seems like its a server config issue.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles