View Full Version : Website help.. Embeding songs...
-ANBU-Sasuke-
Wed, 07-21-2004, 01:55 AM
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.
Mut
Wed, 07-21-2004, 02:19 AM
EDIT: use this
<embed src="http://www.domain.com/song.wma" (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.
-ANBU-Sasuke-
Wed, 07-21-2004, 05:30 PM
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.
Mut
Wed, 07-21-2004, 05:52 PM
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 (http://teamkos.nuclearfallout.net)
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.
-ANBU-Sasuke-
Wed, 07-21-2004, 09:33 PM
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@
Powered by vBulletin® Version 4.2.3 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.