Results 1 to 5 of 5

Thread: Website help.. Embeding songs...

  1. #1

    Website help.. Embeding songs...

    If anyone can help me with this i will be very very very thankful.

    Im trying to figure out how to make a song on my website play over adn over agian without having to reload every time i go to another part of the website. I heard that you have to use actionscripts and xml playlists and some sort? Well for whoever that can help me or try, I LOVE YOU!!! Physc, ill just be very thankful.

  2. #2
    Ciber's Minion Mut's Avatar
    Join Date
    Jul 2003
    Location
    LA, Cali
    Age
    40
    Posts
    4,086

    Website help.. Embeding songs...

    EDIT: use this

    <embed src="http://www.domain.com/song.wma" autostart="true" loop="true" hidden="true">

    that simple code will do. i'd put it in between body tags.
    www.rolleyes.net/

    Financial aspect of my life is revealed.

  3. #3

    Website help.. Embeding songs...

    So if i use that code, then it will play a song into the background constantly? And wont have to reload agian and agian everytime i go to another part of the web page?

    hmm ill try it out later. thankx thou.

  4. #4
    Ciber's Minion Mut's Avatar
    Join Date
    Jul 2003
    Location
    LA, Cali
    Age
    40
    Posts
    4,086

    Website help.. Embeding songs...

    ohhhhhhhhh... ok... i misunderstood what you wrote.

    ok, so if you encode that, the song will play automatically and loop only for that page. i haven' worked with html in a while so i don't know the BEST way to make a song play automatically and loop for every page of the site. one way i've done it is to make frames.

    click

    that is a website i built that sort of has what you want. obviously no songs are uploaded so that's why it doesn't play but that's not important. however, that method requires you to create two frames in your main page (index): one for your main site and another for your jukebox page (where you play music). but this method is only good for if you want the website viewer to have a choice of whether or not he or she can stop/play the song or choose another song. it's not the most practical way to do it if you want only one song to be available to listen to, but i tried =/

    EDIT: the method i posted also works with iframes. i'm not sure which type of website you're creating but if you're doing it for a online journal site (like xangay), then just using that code above on the actual page with the iframe in it would work fine since the pages inside the iframe will only respond to whatever link you click on.
    www.rolleyes.net/

    Financial aspect of my life is revealed.

  5. #5

    Website help.. Embeding songs...

    Hmm, so ill have to make 2 frames.. Hmm not sure about frames, only thing ive used is Inline frames, but, looks like ill have to look into it and find out. Thanks Mut@T@

Posting Permissions

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