51 users online (0 members and 51 guests)  

Thread: Need help


  Results 1 to 7 of 7
  1. #1
    QuickB16aia's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2002
    Location
    Bakersfield, Cali
    Posts
    2

    I NEED HELP

    I don't know if this is possible...but could someone tell me a script that I could use in order to embed a playlist on my website. I already know how to embed music but I don't know if I can make it a playlist so it can play the songs back to back. If you can help, could you e-mail me.
    My E-mail
    Last edited by QuickB16aia; 11-25-2002 at 11:37 PM.

  2. #2
    Doorknob's Avatar
    Super Newbie

    Status
    Offline
    Join Date
    Jun 2002
    Location
    Malaysia
    Posts
    316
    i got this script from somewhere. it plays random songs onpageload. u can modify it to your needs.

    it uses an array to hold the song names, then plays a song depending on month. u can change it to weekday(monday etc) or day of month or month, its your choice.

    <SCRIPT language=JavaScript>
    <!---
    function Regular_Song()
    {
    var songs=new Array();
    var number=Math.round(Math.random()*6);
    songs[0]=('<embed src="music/something.mid" autostart=true loop=10>');
    songs[1]=('<embed src="music/take5.mid" autostart=true loop=10>');
    songs[2]=('<embed src="music/moaning.mid" autostart=true loop=10>');
    songs[3]=('<embed src="music/peanuts.mid" autostart=true loop=10>');
    songs[4]=('<embed src="music/yesterday.mid" autostart=true loop=10>');
    songs[5]=('<embed src="music/strwby32.mid" autostart=true loop=10>');
    songs[6]=('<embed src="music/amerpie.mid" autostart=true loop=10>');
    return songs[number];
    }
    file://---></SCRIPT>
    </HEAD>

    <BODY aLink=#ff00ff background="images/Tn.gif" link=#000001 text=#000000
    vLink=#ff0000>

    <SCRIPT language=javascript>
    <!--Hide Code
    Today=new Date();
    ThisMonth=Today.getMonth()+1;

    This_song=Regular_Song();
    document.write(This_song);

    file://-->
    </SCRIPT>
    </Body>
    </Html>

  3. #3
    QuickB16aia's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2002
    Location
    Bakersfield, Cali
    Posts
    2
    Ok......thanks for the help

  4. #4
    Lady_Soul2's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2002
    Location
    Missouri
    Posts
    3

    Question

    Do you know if there is a drop menu that I can use on my site that would allow the visitors to select the music i want to put on the page?
    Example: I want to put 6 different song on my site, one song is playing when the open the site , but they can change the song by using the drop menu to change the music.

    Thanks
    Last edited by Lady_Soul2; 12-06-2002 at 07:08 PM.

  5. #5
    Enigma's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Nov 2000
    Posts
    426

  6. #6
    Lady_Soul2's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2002
    Location
    Missouri
    Posts
    3

    Talking

    Thanks that helped some. Do you know of one that you can use wav or mp3?
    Last edited by Lady_Soul2; 12-08-2002 at 02:57 PM.

  7. #7
    Doorknob's Avatar
    Super Newbie

    Status
    Offline
    Join Date
    Jun 2002
    Location
    Malaysia
    Posts
    316

    RE

    u can only use WAV's or MIDI's.
    just use that script and add in the file names