/    Sign up×
Community /Pin to ProfileBookmark

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>[/code]

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. [url]http://www.someradio.com/listen.pls[/url]). Could anybody tell me the code to embed that or is windows media player unable to read those .pls files?
Thx ?

to post a comment
HTML

7 Comments(s)

Copy linkTweet thisAlerts:
@PeOfEoJul 19.2004 — 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....
Copy linkTweet thisAlerts:
@skyfxauthorJul 20.2004 — 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?
Copy linkTweet thisAlerts:
@PeOfEoJul 20.2004 — where did I say anything about real player? RTSP is a protocal, quick time and windows can handle it.
Copy linkTweet thisAlerts:
@skyfxauthorJul 21.2004 — [i]Originally posted by PeOfEo [/i]

[B]where did I say anything about real player? RTSP is a protocal, quick time and windows can handle it. [/B][/QUOTE]


Ok, but still. Can you help me with the .pls embedding?
Copy linkTweet thisAlerts:
@PeOfEoJul 22.2004 — 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?
Copy linkTweet thisAlerts:
@skyfxauthorJul 25.2004 — [i]Originally posted by PeOfEo [/i]

[B]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? [/B][/QUOTE]


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.
Copy linkTweet thisAlerts:
@PeOfEoJul 26.2004 — [i]Originally posted by skyfx [/i]

[B]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. [/B][/QUOTE]
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.
×

Success!

Help @skyfx spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...