how do i make the radio play on log on

ukvibes

New Member
I would like some help making my radio station play as soon as a vistor logs on to my page, does anyone know what code i need???
 
Embeding

You need to embed a player. You can use many players like, winamp, windows media player, QuickTime etc. I;m not sure how to embed Quicktime or Winamp but i've seen it done before. You need to add this code to a html page:

HTML:
<OBJECT ALIGN="middle" width="500" TYPE="application/x-oleobject" STANDBY="Loading Microsoft Windows Media Player components . . ." CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701">
<PARAM NAME="AudioStream" VALUE="1">
<PARAM NAME="AutoSize" VALUE="0">
<PARAM NAME="AutoStart" VALUE="1">
<PARAM NAME="AnimationAtStart" VALUE="0">
<PARAM NAME="AllowScan" VALUE="0">
<PARAM NAME="AllowChangeDisplaySize" VALUE="0">
<PARAM NAME="AutoRewind" VALUE="0">
<PARAM NAME="Balance" VALUE="0">
<PARAM NAME="BaseURL" VALUE="http://shoutcast.internet-radio.org.uk/tunein.php/bluntbeatssc/playlist.asx">
<PARAM NAME="BufferingTime" VALUE="5">
<PARAM NAME="CaptioningID" VALUE="0">
<PARAM NAME="ClickToPlay" VALUE="0">
<PARAM NAME="CursorType" VALUE="0">
<PARAM NAME="CurrentPosition" VALUE="0">
<PARAM NAME="CurrentMarker" VALUE="0">
<PARAM NAME="DefaultFrame" VALUE="0">
<PARAM NAME="DisplayBackColor" VALUE="0">
<PARAM NAME="DisplayForeColor" VALUE="0">
<PARAM NAME="DisplayMode" VALUE="0">
<PARAM NAME="DisplaySize" VALUE="4">
<PARAM NAME="Enabled" VALUE="0">
<PARAM NAME="EnableContextMenu" VALUE="0">
<PARAM NAME="EnablePositionControls" VALUE="0">
<PARAM NAME="EnableFullScreenControls" VALUE="0">
<PARAM NAME="EnableTracker" VALUE="0">
<PARAM NAME="Filename" VALUE="http://shoutcast.internet-radio.org.uk/tunein.php/bluntbeatssc/playlist.asx">
<PARAM NAME="InvokeURLs" VALUE="0">
<PARAM NAME="Language" VALUE="0">
<PARAM NAME="Mute" VALUE="0">
<PARAM NAME="PlayCount" VALUE="1">
<PARAM NAME="PreviewMode" VALUE="0">
<PARAM NAME="Rate" VALUE="1">
<PARAM NAME="SAMILang" VALUE="0">
<PARAM NAME="SAMIStyle" VALUE="0">
<PARAM NAME="SAMIFileName" VALUE="0">
<PARAM NAME="SelectionStart" VALUE="0">
<PARAM NAME="SelectionEnd" VALUE="0">
<PARAM NAME="SendOpenStateChangeEvents" VALUE="0">
<PARAM NAME="SendWarningEvents" VALUE="0">
<PARAM NAME="SendErrorEvents" VALUE="0">
<PARAM NAME="SendKeyboardEvents" VALUE="0">
<PARAM NAME="SendMouseClickEvents" VALUE="0">
<PARAM NAME="SendMouseMoveEvents" VALUE="0">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="0">
<PARAM NAME="ShowCaptioning" VALUE="0">
<PARAM NAME="ShowControls" VALUE="0">
<PARAM NAME="ShowAudioControls" VALUE="0">
<PARAM NAME="ShowDisplay" VALUE="0">
<PARAM NAME="ShowGotoBar" VALUE="0">
<PARAM NAME="ShowPositionControls" VALUE="0">
<PARAM NAME="ShowStatusBar" VALUE="1">
<PARAM NAME="ShowTracker" VALUE="0">
<PARAM NAME="TransparentAtStart" VALUE="0">
<PARAM NAME="VideoBorderWidth" VALUE="0">
<PARAM NAME="VideoBorderColor" VALUE="0">
<PARAM NAME="VideoBorder3D" VALUE="0">
<PARAM NAME="Volume" VALUE="100">
<PARAM NAME="WindowlessVideo" VALUE="0">
<EMBED ALIGN="middle" SRC="http://shoutcast.internet-radio.org.uk/tunein.php/bluntbeatssc/playlist.asx" HEIGHT="24" WIDTH="250" AUTOSTART="1" SHOWCONTROLS="1"></EMBED></OBJECT>


You need to replace: BluntBeats Radio

With your own servers link.
 
Thanks for your help

Thanks for your help, added the code, works a treat, do you know if visitors to the page still show as listeners on internet radio?
 
Top