PDA

View Full Version : Listen Live Button



DJCT08
25-07-2007, 10:42 PM
Hi Guys, I've recently set up a free website and I have a radio player I want to direct to.

I can't seem to embed it on the page because it requires a plug in (news to me as wmplayer always works).

Long story short though, I have added a button with the Media Player icon and just wondered how I got this to redirect to play in Windows Media Player on the computer.

I have tried just typing in the stream url but it directs to the shoutcast page showing the official stats.

I am using www.piczo.com to host my website atm until I get a proper domain etc so any help with html would be helpful.

Thanks

H0BJ0B
25-07-2007, 10:50 PM
<a href="http://IPANDPORTHERE/listen.pls" target="new">Windows Media Player</a>

Alternatively, change the text to an image of the mini WMP sign. :)

Example of IP and Port:
78.87.76.65:9000
or
shoutcast1.hellonet.net

DJCT08
25-07-2007, 10:52 PM
Cheers ;)

DJCT08
25-07-2007, 11:03 PM
Well I had done what you said but when I click on the link and it takes me to media player or real player but will not play :S... something about an extension

Jamie.
25-07-2007, 11:07 PM
is anyone streaming?

DJCT08
25-07-2007, 11:10 PM
Yup. I am atm.

Jamie.
25-07-2007, 11:13 PM
hmmmm.... do u use firefox as your browser :s

edit: just maybe the cause of the plugin error.

DJCT08
25-07-2007, 11:23 PM
I do use firefox and I think that was the error.

I just tried the link in I.E. and it opened in Real Player (My default player).

Is there no way around this problem in firefox then?

Thanks btw ;)

DJCT08
26-07-2007, 12:57 AM
Now i've got the first part out of the way. How do I get the 'Now Playing' feature like HxL's on the homepage?

Jamie.
26-07-2007, 09:16 AM
if your using piczo you wont be able to as they dont accept php.

DJCT08
26-07-2007, 10:48 AM
if your using piczo you wont be able to as they dont accept php.

Thanks, do you know of any free web hosting sites i.e. freewebs that support php?

H0BJ0B
26-07-2007, 10:59 AM
There is some, but they give you complicated storage space and so if you have no knowledge of cPanel then it will be a bit hard for you to sort it out.

Jamie.
26-07-2007, 12:39 PM
just put a link to http://yourshoutcastip:yourshoutcastport ;)!!

Want to hide these adverts? Register an account for free!