Acidude
15-08-2005, 10:08 AM
On my new fansite I think there might be problems with the radio. It works with Winamp, but i'm not sure about the standard version (the one that's already there). I'll just play some random songs. Please tell me if you can see a problem.
I'll post the codes I've used for it too.
First, the code used in the config_radio.php file:
<?php
//////////////////////////////////////////////////////////////////////////////////////////////
// Dinghy Radio Stats Information
// Grabs the xml from your radio server and displays it in a iframe that refreshes every 30 seconds.
// ©Daniel Brown www.gmtt.co.uk
//////////////////////////////////////////////////////////////////////////////////////////////
//Configuration
$scdef = "HabboPhunk Radio"; // Default station name to display when server or stream is down
$scip = "www.habbophunk.com"; // ip or url of shoutcast server (DO NOT ADD HTTP:// don't include the port)
$scport = "10040"; // port of shoutcast server
$scpass = "I'M NOT TELLING YOU XD"; // password to shoutcast server
//End configuration
?>
And now the one in the radio_stats.php file:
<object id="MediaPlayer" type="application/x-oleobject" height="40" standby="Please wait while we start the radio!" width="180" classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6">
<param value="http://www.habbophunk.com:10040" name="http://www.habbophunk.com/">
<param value="1" name="rate">
<param value="0" name="balance">
<param value="0" name="currentPosition">
<param value="" name="defaultFrame">
<param value="1" name="playCount">
<param value="-1" name="autoStart">
<param value="0" name="currentMarker">
<param value="-1" name="invokeURLs">
<param value="" name="baseURL">
<param value="50" name="volume">
<param value="0" name="mute">
<param value="mini" name="uiMode">
<param value="0" name="stretchToFit">
<param value="0" name="windowlessVideo">
<param value="-1" name="enabled">
<param value="-1" name="enableContextMenu">
<param value="0" name="fullScreen">
<param value="" name="SAMIStyle">
<param value="" name="SAMILang">
<param value="" name="SAMIFilename">
<param value="" name="captioningID">
<param value="0" name="enableErrorDialogs">
<param value="4763" name="_cx">
<param value="1058" name="_cy"></object>
The one above is for the media player itsself. I'm not sure what the problem is, since I copied the codes exactly (other than editing where needed). Then again, there may not be a problem at all. If there's not a probelm there it might be that there's a problem elsewhere in the code. Please let me know.
I'll post the codes I've used for it too.
First, the code used in the config_radio.php file:
<?php
//////////////////////////////////////////////////////////////////////////////////////////////
// Dinghy Radio Stats Information
// Grabs the xml from your radio server and displays it in a iframe that refreshes every 30 seconds.
// ©Daniel Brown www.gmtt.co.uk
//////////////////////////////////////////////////////////////////////////////////////////////
//Configuration
$scdef = "HabboPhunk Radio"; // Default station name to display when server or stream is down
$scip = "www.habbophunk.com"; // ip or url of shoutcast server (DO NOT ADD HTTP:// don't include the port)
$scport = "10040"; // port of shoutcast server
$scpass = "I'M NOT TELLING YOU XD"; // password to shoutcast server
//End configuration
?>
And now the one in the radio_stats.php file:
<object id="MediaPlayer" type="application/x-oleobject" height="40" standby="Please wait while we start the radio!" width="180" classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6">
<param value="http://www.habbophunk.com:10040" name="http://www.habbophunk.com/">
<param value="1" name="rate">
<param value="0" name="balance">
<param value="0" name="currentPosition">
<param value="" name="defaultFrame">
<param value="1" name="playCount">
<param value="-1" name="autoStart">
<param value="0" name="currentMarker">
<param value="-1" name="invokeURLs">
<param value="" name="baseURL">
<param value="50" name="volume">
<param value="0" name="mute">
<param value="mini" name="uiMode">
<param value="0" name="stretchToFit">
<param value="0" name="windowlessVideo">
<param value="-1" name="enabled">
<param value="-1" name="enableContextMenu">
<param value="0" name="fullScreen">
<param value="" name="SAMIStyle">
<param value="" name="SAMILang">
<param value="" name="SAMIFilename">
<param value="" name="captioningID">
<param value="0" name="enableErrorDialogs">
<param value="4763" name="_cx">
<param value="1058" name="_cy"></object>
The one above is for the media player itsself. I'm not sure what the problem is, since I copied the codes exactly (other than editing where needed). Then again, there may not be a problem at all. If there's not a probelm there it might be that there's a problem elsewhere in the code. Please let me know.