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 8 of 8
  1. #1
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default Auto DJ - Changing media player?

    Well we have a auto streamer on 1 radio, and another for DJ's.
    So how do we make it so if main radio = 0 it plays different url, but if the radio is connect to, it changes url, the only way i could make wd result in the radio refreshing like every 30 secs :p

    MOD MOVE PLEASE

    Moved by opensourcehost (Forum Super Moderator) from Forum Designing: Please post in the correct forum next time, thanks .
    Last edited by Mr.OSH; 15-10-2007 at 05:28 PM.

  2. #2
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    Only possible ways are either ASX or AJAX. Bearing in mind AJAX would use a bit of bandwidth.

  3. #3
    Join Date
    Jul 2005
    Location
    North Wales
    Posts
    4,233
    Tokens
    2,009

    Latest Awards:

    Default

    Have an off on switch in your DJ panel, then use PHP to see if it's on or off and display the diffrent codes.

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

    Latest Awards:

    Default

    Quote Originally Posted by redtom View Post
    Have an off on switch in your DJ panel, then use PHP to see if it's on or off and display the diffrent codes.
    How do you do it with Cast-Control?
    wont it require some one to log in? meaning they get all our passwords?

  5. #5
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    AJAX Request Method:

    Perform an ajax request (xmlhttp) on a page which checks if the radio is on, if it does it echoes "1" if its not it echoes "0". The javascript on the main page checks the ajax request's response (the 1/0), if it '== "0"' then you update the DIV with a WMP Control which plays Radio 1 or whatever.

    That's how I do it ;D!

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

    Latest Awards:

    Default

    Quote Originally Posted by Invent View Post
    AJAX Request Method:

    Perform an ajax request (xmlhttp) on a page which checks if the radio is on, if it does it echoes "1" if its not it echoes "0". The javascript on the main page checks the ajax request's response (the 1/0), if it '== "0"' then you update the DIV with a WMP Control which plays Radio 1 or whatever.

    That's how I do it ;D!
    we all know im crap with things like that simon
    So, how wd I do that =]

  7. #7
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    I'm not spoon feeding you. Think about it and learn.

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

    Latest Awards:

    Default

    Quote Originally Posted by Invent View Post
    I'm not spoon feeding you. Think about it and learn.
    tbh I only learn from your work lol :p

Posting Permissions

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