Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 5 of 6 FirstFirst ... 3456 LastLast
Results 61 to 75 of 78

Thread: on-air script

  1. #61
    New Coder
    Join Date
    Mar 2013
    Posts
    62
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Old Pedant View Post
    The only part of that code that specifies where the audio is coming from is here:
    Code:
    <audio id="audio-player" src="http://173.224.124.211:8004/;" type="audio/mp3" autoplay="autoplay"></audio>
    But there is *NOTHING* there for "changing" the stream.

    It's just one stream, from one URL.

    So if the stream is changed, it must be change at that other URL, and there would be no way of detecting that from the browser.

    *IF* the URL changed, that we could detect. But that doesn't seem to happen.
    yeah no our DJ'S use the same stream so how would that
    work out changing the picture for different djs when there on the air

  2. #62
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,028
    Thanks
    75
    Thanked 4,325 Times in 4,291 Posts
    It wouldn't.

    You either need to do it as I showed, using just the day and time, or you would need to provide a special web page for the DJs to use that would change a setting *ON THE SERVER* and then all regular users would see that setting.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  3. #63
    New Coder
    Join Date
    Mar 2013
    Posts
    62
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yeah i know but um don't know if you have ever heard of 106themix
    in the USA but they have a dj image changer were there DJ'S login to this special DJ page using and username and pass and uploading there images everytime the DJS go on air

  4. #64
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,028
    Thanks
    75
    Thanked 4,325 Times in 4,291 Posts
    And isn't that *EXACTLY* what I said you *COULD* do?
    or you would need to provide a special web page for the DJs to use that would change a setting *ON THE SERVER*
    But now you need to learn to use server-side coding (probably PHP) and I don't think you are ready for that yet.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  5. #65
    New Coder
    Join Date
    Mar 2013
    Posts
    62
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok were do you think i would get something like what they use from?

  6. #66
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,028
    Thanks
    75
    Thanked 4,325 Times in 4,291 Posts
    From 106themix? Or find somebody who will code it up for you. Or start studying PHP and do it yourself in a month or two.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  7. #67
    New Coder
    Join Date
    Mar 2013
    Posts
    62
    Thanks
    0
    Thanked 0 Times in 0 Posts
    could you or someone work on it

  8. #68
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,028
    Thanks
    75
    Thanked 4,325 Times in 4,291 Posts
    Someone, maybe. I don't use PHP.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  9. #69
    New Coder
    Join Date
    Mar 2013
    Posts
    62
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ahhh ok i hope someone could help as that would be amazing

  10. #70
    New Coder
    Join Date
    Mar 2013
    Posts
    62
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yeah i'm on about someone helping me make a DJ center were
    our DJ'S can login and upload there images/banners everytime they go on the air

  11. #71
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,028
    Thanks
    75
    Thanked 4,325 Times in 4,291 Posts
    Swo7pes was attempting to spam us. Apparently, the forum software kicked out whatever he was trying to post.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  12. #72
    New Coder
    Join Date
    Mar 2013
    Posts
    62
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ahhh ok lol

  13. #73
    New Coder
    Join Date
    Mar 2013
    Posts
    62
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Song Request Script

    hi there i would like an email song request code poss html or php
    i don't mind at all.

    only im making a dj page were people can request from different DJ'S? and i would like the song requests to go to our emails

  14. #74
    Senior Coder jmrker's Avatar
    Join Date
    Aug 2006
    Location
    FL
    Posts
    3,065
    Thanks
    36
    Thanked 497 Times in 491 Posts

    Exclamation

    Quote Originally Posted by djultra View Post
    hi there i would like an email song request code poss html or php
    i don't mind at all.

    only im making a dj page were people can request from different DJ'S? and i would like the song requests to go to our emails
    It would be nice for you to post a question that made some sense.

    Put a link on your page that addresses your email. Done!

  15. #75
    New Coder
    Join Date
    Mar 2013
    Posts
    62
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you don't get what i'm trying to say

    its requests for each DJ

    so say like at certain times and days when the DJ'S are on the
    air it a script of some sort shows the DJ'S request button for there email
    every time they are on air? so say for example, dj example images/request.jpg then it has there image and there request button at the bottom of there image.


    so what i am trying to say is there request button shows up the same time they are on air? it's a bit like the script old pendant gave me but im talking about a script thats changes on different times and different days (gmt) so say for example

    dj mouse is on the air at 12pm till 3pm it shows her image with her song request button at the bottom of her image then when people click that request button it goes to the request page then once sent it goes onto there email.

    same with me (dj ultra) on air from 12pm till 3pm the request button is at the bottom of my image. you get my drift.

    hope im talking sence


 
Page 5 of 6 FirstFirst ... 3456 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
  •