Hello all. I am new to this forum. I have just created my web site and managed to embed sound okay, with all controls including volume. When I click on a link to go to another page in my site the music stops. Is there a way to have the music and console "floating" throughout the site as visitors move from page to page?
Thank you for your prompt reply! How do I do that, place the console in a frame? Also, can the frame be as small as the console itself?
Here's what I have written:
<center>
<EMBED SRC="http://home.earthlink.net/~salamanders/playlist.m3u"
autostart="true"
type="audio/mpeg"
loop="true">
</EMBED>
</center>
Thank you again.
Last edited by salamanders; 03-13-2006 at 12:30 AM.
Well, I'm back. I suspect I made a fine mess of things. I managed to get the screen divided into frames, but they are blank and the music now tries to open in my Windows media player. Here is what I have at the top of my source code:
<html>
<frameset rows="*,50">
<frame src="http://home.earthlink.net/~salamanders/" name="main">
<frame src="http://home.earthlink.net/~salamanders/playlist.m3u" name="sound"autostart="true"
type="audio/mpeg"
loop="true"> >
<BODY BGCOLOR="87cefa"><b>
<h1><center> FICTION WRITING </center> </h1><BR>
Oh, dear. You seem of of missed the point of frames. Let's just pretend that you never heard the word frame.
Your best bet would be to open the music from a pop-up.
HTML Code:
<button onclick="window.open('player.htm','music','height=200,width=400');">Play the music</button>
Last edited by the tree; 03-13-2006 at 06:34 AM.
Disclaimer. (1) Whilst I will help you sometimes, if I feel like it, and my advice in relation to your actual question will be of good quality: my posts are to be taken with a pinch of salt. I will be sarcastic, deploy irony and include obscure cultural references for my own amusement without warning.
(2) You will gain nothing from complaining, and if you try to argue with me then you will not win. No matter how noble your battle seems, I am still better than you, don't be an hero.
Thanks for replying. I'm trying frames because I want the music to autoplay as visitors browse my site and with the option of turning it off. Also, many people block pop-ups. Would your suggestion keep the music playing as visitors moved to a different page?
Yes it would. It also would avoid the search engine, navigation and accessability issues that you are bringing into the arena with framesets.
Disclaimer. (1) Whilst I will help you sometimes, if I feel like it, and my advice in relation to your actual question will be of good quality: my posts are to be taken with a pinch of salt. I will be sarcastic, deploy irony and include obscure cultural references for my own amusement without warning.
(2) You will gain nothing from complaining, and if you try to argue with me then you will not win. No matter how noble your battle seems, I am still better than you, don't be an hero.
Thanks for replying. I'm trying frames because I want the music to autoplay as visitors browse my site and with the option of turning it off. Also, many people block pop-ups. Would your suggestion keep the music playing as visitors moved to a different page?
For what it's worth, my suggestion would be exactly the opposite of this. Provide your visitors the OPTION of listening to your music, IF THEY WANT TO, but do not auto-play it. At least you are thinking ahead to giving them the ability to shut it off, but background music is generally ranked right up there with Hamster Dance on "The Great Scale of all Things Annoying".
(Also, this lends itself more to the use of a pop-up containing the music code, as users would launch the popup as the direct result of a link action, which most pop-up blockers will still allow)
Thanks for replying. If the button thing will pay continuously as folks browse the site (going to other pages on the site) - which means the button will need to move with them to the new page - I'll probably wind up with that idea. For now, just for the learning experience, I'm trying not to go cuckoo getting the frames idea to work. I'm reading a lot of tutorials but they all seem to presume I know how to insert the SRC lines correctly, (my url, the file, etc.) which I do not. I'll keep trying. I'll probably be back for more help before I go completely nuts.
Thanks to all who helped, and so quickly. It's really very easy but a lot of the tutorials leave out the main point - the big reason for all the trouble I was having - and that is you need to create _3_ html documents instead of 2 (which is all I needed). The most important one tells the browser only frame info and that is now the index.html. What was originally the index.html is given a new name. I also managed to wipe out borders between the frames and color both the same. So I wound up with exactly what I was looking for. Now the music stays when folks click to move to a different page. And they can also turn it down or off if they want.
Bookmarks