PDA

View Full Version : Html Help.



DPS
18-02-2009, 08:31 PM
Got my shoutcast radio i dont know how to add it to my site i need help ill pay 5 hcs if u can get it to work for me or give me the html code to do it.

78.129.167.77
Port : 16046

.:.:jjm261:.:.
18-02-2009, 08:55 PM
http://www.habboxforum.com/showthread.php?t=461776


<object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" name="player" width="145" height="40" standby="Loading" codebase="/CODEBASE=http:/activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715">
<param name=" id="player="player"" url="http://www.DOMAIN.EXTENSION" value="true" />
<param name="CONTROLS" value="Imagewindow" />
<param name="ShowStatusBar" value="false" />
<param name="src" value="http://IP.IP.IP.IP:PORT/" />
<param name="url" value="http://IP.IP.IP.IP:PORT/" />

<param name="autostart" value="true" />
<param name="autoplay" value="true" />
<param name="Controls" value="playbutton" />

<param name="uimode" value="mini" />
<embed src="http://www.DOMAIN.EXTENSION/windowsmediafile.asx" width="145" height="40" autostart="True" controls="playbutton" showstatusbar="false" url="http://www.DOMAIN.EXTENSION/windowsmediafile.asx" autoplay="true" uimode="mini"> </embed></object>

Sameer!
18-02-2009, 10:07 PM
Yeah, what jjm kindly posted should help!

iUnknown
19-02-2009, 12:09 AM
Upload this file to your website so you can view it at http://yourdomain.com/radio.asx (if in cPanel, go to file manager, make sure you're in public_html and create a new file called radio.asx - dump the data in there):


<ASX version="3.0">
<title>Radio</title>
<entry>
<title>Radio</title>
<author>Radio</author>
<ref href="http://78.129.167.77:16046/"/>
</entry>
</ASX>
Then put this code on your webpage where you want to see the radio player (MAKE SURE YOU EDIT WHERE IT HAS yourdomain.com TO YOUR DOMAIN! It appears 3 times in the code!):


<object codebase="/codebase=http:/activex.microsoft.com/activex/controls/mplayer/

en/nsmp2inf.cab#version=6,4,5,715" height=35 standby=loading width=160 id="site" classid=clsid:6bf52a52-394a-11d3-b153-00c04f79faa6>
<param name="url" value="http://yourdomain.com/radio.asx" />
<param name="rate" value="1" />
<param name="balance" value="0" />
<param name="currentposition" value="5.0102064" />
<param name="defaultframe" value="" />
<param name="playcount" value="0" />
<param name="autostart" value="-1" />

<param name="showcontrols" value="1"/>
<param name="showstatusbar" value="0"/>
<param name="currentmarker" value="0" />
<param name="invokeurls" value="-1" />
<param name="baseurl" value="" />
<param name="volume" value="100" />
<param name="mute" value="0" />
<param name="uimode" value="mini" />
<param name="stretchtofit" value="0" />

<param name="windowlessvideo" value="0" />
<param name="enabled" value="-1" />
<param name="enablecontextmenu" value="-1" />
<param name="fullscreen" value="0" />
<param name="samistyle" value="" />
<param name="samilang" value="" />
<param name="samifilename" value="" />
<param name="captioningid" value="" />
<param name="enableerrordialogs" value="0" />

<param name="_cx" value="3387" />
<param name="_cy" value="741" />
<embed src="http://yourdomain.com/radio.asx" width="143" height="33" autostart="true" controls="playbutton" showstatusbar="false" url="http://yourdomain.com/radio.asx" autoplay="true" uimode="mini" name="player"></embed>
</object>

This will be the most cross browser compatible radio player you will find.

I don't want the HCs, I guess I'd prefer +rep but you don't have to give it to me (@mods, clearly not asking :P).

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