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!


Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2007
    Location
    UK
    Posts
    2,470
    Tokens
    2,975

    Latest Awards:

    Default Javascript Radio +Rep

    just wondered how you would go around doing one?

    like habbox radio player

    +rep for anyhelp

  2. #2
    Join Date
    Nov 2009
    Location
    Western Australia
    Posts
    165
    Tokens
    50

    Latest Awards:

    Default

    Its easy the habbox radio player is actually downloaded if you would like it pm me

  3. #3
    Join Date
    Jun 2008
    Location
    United Kingdom
    Posts
    2,015
    Tokens
    568

    Latest Awards:

    Default

    Quote Originally Posted by Cohen View Post
    Its easy the habbox radio player is actually downloaded if you would like it pm me
    Why couldn't you just post it here? Or just PM him yourself?
    Posts like this annoy me.

    I'm not sure what you're after. Do you mean control the radio player with javascript? If so, try this - http://www.mioplanet.com/rsc/embed_mediaplayer.htm (right at the bottom)

  4. #4
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    Well, you can't really stream shoutcast via javascript.

    You can use a flash radio player that has javascript controls

  5. #5
    Join Date
    Nov 2009
    Location
    Western Australia
    Posts
    165
    Tokens
    50

    Latest Awards:

    Default

    i will post when i get on my main pc that should be a few hrs.

  6. #6
    Join Date
    Nov 2009
    Location
    Western Australia
    Posts
    165
    Tokens
    50

    Latest Awards:

    Default

    Okay download http://www.habblo.net/flash_player.zip then ope up playlist.xspf it should look like
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <playlist version="0" xmlns="http://xspf.org/ns/0/">
      <trackList>
        <track>
          <location>YOUR RADIO ADDRESS/;stream.nsv</location>
          <annotation>YOUR RADIO STATION</annotation>
        </track>
      </trackList>
    </playlist>
    Replace YOUR RADIO ADDRESS with the URL to your shoutcast DNS page like 11.38.34.544:7002 and leave the /;stream.nsv Then Replace YOUR RADIO STATION with what your want to display on the player.

    Then open player.html it should be
    HTML Code:
    <object type="application/x-shockwave-flash" width="160" height="15" data="xspf_player_slim.swf?playlist_url=playlist.xspf&autoplay=true&volume_level=45"><param name="movie" value="xspf_player_slim.swf?playlist_url=playlist.xspf&autoplay=true&volume_level=40" /><param name="autoplay" value="true"/><param name="quality" value="high"/>
    </object>
    Change the height and width if you would like then test it out. Tell me if you need any more help.
    Last edited by Cohen; 19-06-2010 at 08:35 PM.

Posting Permissions

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