Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jun 2005
    Location
    West Midlands, UK
    Posts
    169
    Tokens
    0

    Default Possible Radio Problems

    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:

    HTML Code:
    <?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:

    HTML Code:
    <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.


    Lolage.co.uk

    Please register on Lolage




  2. #2
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    id guess u need to change all teh attributes, plus youd need the right types as well etc for it to run,then remove any attributs your not useing "/

  3. #3
    Join Date
    Jun 2005
    Location
    West Midlands, UK
    Posts
    169
    Tokens
    0

    Default

    I have absolutely no idea which attributes to delete...

    Help?


    Lolage.co.uk

    Please register on Lolage




  4. #4
    Join Date
    Jun 2005
    Location
    West Midlands, UK
    Posts
    169
    Tokens
    0

    Default

    Would it work if I copied the code for another radio's media player but changed the port etc.?

    Or is my host's support service likely to know what to do?


    Lolage.co.uk

    Please register on Lolage




  5. #5
    Join Date
    Aug 2004
    Location
    Over there. ^_^
    Posts
    1,100
    Tokens
    0

    Latest Awards:

    Default

    you dont seem to have a shoutcast server there your using your own site as the host? habbophunk.com:port? that cant be right ! becuase geocities dont host shoutcast!
    *Image Removed


    Ahemm.. How exactly was my sig innapropriate?
    Goddamit i hate this forum :@
    I RESIGN FROM GRAPHICS DESIGNER :@ :@ :@

  6. #6
    Join Date
    Jun 2005
    Location
    West Midlands, UK
    Posts
    169
    Tokens
    0

    Default

    Quote Originally Posted by xEnigmA
    you dont seem to have a shoutcast server there your using your own site as the host? habbophunk.com:port? that cant be right ! becuase geocities dont host shoutcast!
    I've now found that my server is lc-hosting, but I don't think changing it in the original code will make any difference considering my luck.


    Lolage.co.uk

    Please register on Lolage




  7. #7
    Join Date
    Jun 2005
    Location
    West Midlands, UK
    Posts
    169
    Tokens
    0

    Default

    Nope, no change.

    If I'm DJing with Winamp it'll still work on the normal media player thingy won't it?

    Aaaaaaagh this is so irritating... I've tried editing codes aswell but no luck. I'll try again tomorrow when my friend is DJing (nuless someone helps me before then ).

    I would edit posts but the button's gone away


    Lolage.co.uk

    Please register on Lolage




  8. #8
    Join Date
    Feb 2005
    Location
    England, West Midlands
    Posts
    65
    Tokens
    0

    Default

    Hi. I'm the co-owner on this website. We've changed the code again, and it works if you press the play button. However, I don't know if the autostart section is working. It could be because I tried to listen while DJing, and it could just be that you can't use autostart WHILE djing. Anyway, i'll post the new media player code. I've fixed the config_radio page aswell.

    HTML Code:
    <script language="VBScript">
    
    <!--
    
    On Error Resume Next
    
    lngMP70 = IsObject(CreateObject("WMPlayer.OCX"))
    
    
    
    If (lngMP70) Then
    
    document.write "<OBJECT ID=MediaPlayer "
    
    document.write "CLASSID=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"
    
    document.write "standby=""Loading Microsoft Windows Media Player components..."" "
    
    document.write "TYPE=""application/x-oleobject"" width=""190"" height=""44"">"
    
    document.write "<PARAM NAME=""url"" VALUE=""http://www.lc-hosting.com:10040"">"
    
    document.write "<PARAM NAME=""AutoStart"" VALUE=""true"">"
    
    document.write "<PARAM NAME=""ShowControls"" VALUE=""0"">"
    
    document.write "<PARAM NAME=""uiMode"" VALUE=""mini"">"
    
    document.write "</OBJECT>"
    
    
    
    End If
    
    
    
    -->
    
                             </script>
    Could someone just check through and make sure that's right? Thanks


    Quote Originally Posted by xEnigmA
    you dont seem to have a shoutcast server there your using your own site as the host? habbophunk.com port? that cant be right ! becuase geocities dont host shoutcast!
    We're not on geocities -_-'

  9. #9
    Join Date
    Aug 2004
    Location
    Over there. ^_^
    Posts
    1,100
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by frobberwob
    We're not on geocities -_-'
    i beg to differ everytime i go on your site it says at the bottom retreving from geocities ¬_¬ and your site is kinda rubbish anyway have you ever seen it in 1024x768 screen res or maybe its your browser this is what it looks like to me



    and your banner says "Hasssso Phunk"
    *Image Removed


    Ahemm.. How exactly was my sig innapropriate?
    Goddamit i hate this forum :@
    I RESIGN FROM GRAPHICS DESIGNER :@ :@ :@

  10. #10
    Join Date
    Jun 2005
    Location
    West Midlands, UK
    Posts
    169
    Tokens
    0

    Default

    Don't blame me for the banner. The co-owner thinks it's good. I don't know why the background has suddenly disappeared. But other than that it's fine in my browser. Our host is lc-hosting.com how, although it was geocities until we bought the domain name.

    Anyway, back to radio help. Could someone check the codes? Thanks


    Lolage.co.uk

    Please register on Lolage




Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •