/    Sign up×
Community /Pin to ProfileBookmark

Continuous background music

So, I understand how to make background music on my web page, but is there a way to make it continuous and uninterrupted as they surf through the subpages of the site? As in, when they click on a link to take them to another section, either the song stops playing, or just restarts completely. Is there a way to make it so that the song just keeps playing as they surf within my site? Thanks for the help.

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@felgallJul 06.2007 — Most people who want to listen to music while surfing set up their computer to play their own music and get really annoyed at sites that interrupt their enjoyment of their music by playing sounds without asking first.

The only way to set up to play music across multiple pages is to open a popunder window with the music playing in that.
Copy linkTweet thisAlerts:
@____MaNiC_MoE____Jul 06.2007 — [COLOR="DarkRed"][I]Well, first of all,[/I]

Most people who want to listen to music while surfing set up their computer to play their own music and get really annoyed at sites that interrupt their enjoyment of their music by playing sounds without asking first.



The only way to set up to play music across multiple pages is to open a popunder window with the music playing in that.
[/QUOTE]




What "felgali" said is right. So I think you should give your visitors the choice of playing the music or not. This could be done using the <embed> tag :



[U]EXAMPLE[/U]

[code=html]
<embed src="bgsound" loop="true" autorun="true" hidden="false"></embed>
[/code]

...

However, I've thought about your question before and find out a solution ? ? ? !

Just simplily make a page of two horizontal frames.

1) Frame 1 = Small, at the top/buttom, has the music player

2) Frame 2 = Your website...


____________________________________________________________

So, the steps are :

1) Make a webpage that has the following code :
[code=html]
<embed src="MUSIC" loop="true" autorun="true" hidden="false"></embed>
[/code]


2) Type in the following into the main page/homepage :

[code=html]
<head>
<!-- Everything opens in the same frame -->
<base target="_self">
</head>
[/code]


3) Make a third page, and make it your homepage.

4) Make it consist of two frames : The two pages...

5) Type in the framing code :

[code=html]
<html>
<frameset cols="15%,75%">
<frame src="Page 1">
<frame src=Page 2">
</frameset>
[/code]


:rolleyes: Sorry if that was too much, but I tried to help you IN DETIAL, lolz[/COLOR]
Copy linkTweet thisAlerts:
@felgallJul 06.2007 — The embed tag was a proprietary tag required to embed music in some early browsers.

All current browsers now support the object tag which is the standard way to do it and so using embed is no longer necessary.
Copy linkTweet thisAlerts:
@____MaNiC_MoE____Jul 10.2007 — or use the object tag (which I don't know) like what Felgall said, lolz
×

Success!

Help @TrMako spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.1,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...