473,837 Members | 1,548 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

playing music across pages

Hello all,

I'm developing a site in PHP4 for a music artist, who wants music to
play across all their pages. I have loaded a simple flash applet to
play the music, but every time the visitor to the site moves to a
different page the music starts again. The artist would like the music
to play continuously.

I can only think of three possible ways to solve this, and I am not
happy with any of them.

1) Use frames - but this will wreck my lovely CSS layout
2) Open the player in another window - but this has issues with popup
blockers, and really I would prefer it all to be on screen at the same
time.
3) Re-design the whole site in Flash - I don't have time for this
right now.

Does anyone here have any other suggestions?

Or, if you were developing this site, which would you choose and why?

Nov 23 '06 #1
14 4022
gnarl wrote:
Or, if you were developing this site, which would you choose and why?
I wouldn't choose any of them. I would instead explain how music playing
on a website is both annoying and tacky. I would suggest to them that if
the visitor was already listening to music, as I for example often am,
how they would probably be pissed off by the unwanted music from a website.

Have you suggested that they alternatively allow the visitors to
download clips to listen to rather than have it forced upon them?

--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk

Listening to: Genesis - In The Cage
Nov 23 '06 #2
In article <11************ *********@e3g20 00cwe.googlegro ups.com>,
"gnarl" <jm*****@sssltd .co.ukwrote:
Hello all,

I'm developing a site in PHP4 for a music artist, who wants music to
play across all their pages. I have loaded a simple flash applet to
play the music, but every time the visitor to the site moves to a
different page the music starts again. The artist would like the music
to play continuously.

I can only think of three possible ways to solve this, and I am not
happy with any of them.

1) Use frames - but this will wreck my lovely CSS layout
2) Open the player in another window - but this has issues with popup
blockers, and really I would prefer it all to be on screen at the same
time.
3) Re-design the whole site in Flash - I don't have time for this
right now.

Does anyone here have any other suggestions?

Or, if you were developing this site, which would you choose and why?
Frames.

1. A music artist probably doesnt' care that visitors can't bookmark
subpages,

2. Works in pretty much every browser known to mankind.

3. Keeps the other content just the way it is. It shouldn't "wreck"
any CSS to use frames.
--
Sandman[.net]
Nov 23 '06 #3
Hi Dylan,

Your point is a valid one, but as the whole point of the page is to
advertise the artists music, you would expect that the visitors would
want to hear some. By loading the flash player, the visitor has the
power to hit the 'stop' button if they've had enough or want to listen
to something playing in a different application.

Standard download are also being offered on one page.

But, thanks for the comments anyway :-)
Dylan Parry wrote:
gnarl wrote:
Or, if you were developing this site, which would you choose and why?

I wouldn't choose any of them. I would instead explain how music playing
on a website is both annoying and tacky. I would suggest to them that if
the visitor was already listening to music, as I for example often am,
how they would probably be pissed off by the unwanted music from a website.

Have you suggested that they alternatively allow the visitors to
download clips to listen to rather than have it forced upon them?

--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk

Listening to: Genesis - In The Cage
Nov 23 '06 #4
gnarl wrote:
Hi Dylan,

Your point is a valid one, but as the whole point of the page is to
advertise the artists music,
There is of course a difference between advertising the artist's music
and forcing it upon the visitor. Afterall, the visitor has already gone
to the artist's website, and is obviously interested enough to click on
a "Flash player" to listen to the music on without having the site
choose the track for them and make them have to turn it off ;)
you would expect that the visitors would want to hear some. By
loading the flash player, the visitor has the power to hit the 'stop'
button if they've had enough or want to listen to something playing
in a different application.
It would be more user-friendly if the visitor had to hit the "start"
button rather than opt out of listening to it.

--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk

Programming, n: A pastime similar to banging one's head
against a wall, but with fewer opportunities for reward.
Nov 23 '06 #5
Fair enough Dylan. I except your point.

But once the user has clicked on play, how do you suggest I can allow
them to continue to browse the site without interrupting the music?
Dylan Parry wrote:
gnarl wrote:
Hi Dylan,

Your point is a valid one, but as the whole point of the page is to
advertise the artists music,

There is of course a difference between advertising the artist's music
and forcing it upon the visitor. Afterall, the visitor has already gone
to the artist's website, and is obviously interested enough to click on
a "Flash player" to listen to the music on without having the site
choose the track for them and make them have to turn it off ;)
you would expect that the visitors would want to hear some. By
loading the flash player, the visitor has the power to hit the 'stop'
button if they've had enough or want to listen to something playing
in a different application.

It would be more user-friendly if the visitor had to hit the "start"
button rather than opt out of listening to it.

--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk

Programming, n: A pastime similar to banging one's head
against a wall, but with fewer opportunities for reward.
Nov 23 '06 #6

Sandman wrote:
>
Frames.

1. A music artist probably doesnt' care that visitors can't bookmark
subpages,

2. Works in pretty much every browser known to mankind.

3. Keeps the other content just the way it is. It shouldn't "wreck"
any CSS to use frames.
--
Sandman[.net]
I agree frames are good, most browsers support them now (those that
don't probably don't support media files either).

You could make the music playing frame a small strip (maybe with a "now
playing xxx from album yyy" banner then it will mesh more with the
site.

Also with frames you could change 'music tracks' as needed.

Nov 23 '06 #7
gnarl wrote:
Fair enough Dylan. I except your point.

But once the user has clicked on play, how do you suggest I can allow
them to continue to browse the site without interrupting the music?
Dylan Parry wrote:
>gnarl wrote:
>>Hi Dylan,

Your point is a valid one, but as the whole point of the page is to
advertise the artists music,
There is of course a difference between advertising the artist's music
and forcing it upon the visitor. Afterall, the visitor has already gone
to the artist's website, and is obviously interested enough to click on
a "Flash player" to listen to the music on without having the site
choose the track for them and make them have to turn it off ;)
>>you would expect that the visitors would want to hear some. By
loading the flash player, the visitor has the power to hit the 'stop'
button if they've had enough or want to listen to something playing
in a different application.
It would be more user-friendly if the visitor had to hit the "start"
button rather than opt out of listening to it.

--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk

Programming, n: A pastime similar to banging one's head
against a wall, but with fewer opportunities for reward.
Popup blockers usually do not block pop-ups that are requested by the action of
a user - such as clicking on a "javascript :" link. So my tip would be to offer a
link to such a pop-up player.

The added bonus is that the pop-up player can start playing as soon as it's
opened (without being annoying), which means the music still starts with only
one click. While the player remains running, the visitor can browse through the
site without interrupting the music.

This is really the only way I can see this can be done. Playback is tied to the
page, so you need a separate window/frame for the music to play continuously.

--
Christoph Burschka
Nov 23 '06 #8
Christoph Burschka wrote:
[use a *requested* pop-up]
This is really the only way I can see this can be done. Playback is tied to the
page, so you need a separate window/frame for the music to play continuously.
That's what I would have suggested too. Nothing wrong with pop-ups, as
long as you tell the user they're going to get one.

--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk

Programming, n: A pastime similar to banging one's head
against a wall, but with fewer opportunities for reward.
Nov 23 '06 #9
gnarl wrote:
Does anyone here have any other suggestions?

Or, if you were developing this site, which would you choose and why?
I'd consider creating a *.m3u playlist file that refers to the artist's
files. That way the music loads only at the user's request, it also
respects their media player of choice. It's increasingly important as
people begin to tend away from MS.

http://en.wikipedia.org/wiki/M3U

Nov 24 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
16165
by: Marian Aldenhövel | last post by:
Hi, I am trying to make pygame play music on windows. This simple program: import pygame,time pygame.init() print "Mixer settings", pygame.mixer.get_init() print "Mixer channels", pygame.mixer.get_num_channels() pygame.mixer.music.set_volume(1.0) pygame.mixer.music.load('file1.mp3)
4
2184
by: cody | last post by:
Is there a way to play mod-music in .NET? I know in the standardlibraries there is nothing for mod-music but does anybody know of a free third party component that can be used for that? -- cody www.deutronium.de.vu || www.deutronium.tk
5
2668
by: a.dheeraj.kumar | last post by:
Is there a way to play music(MP3 or Wav) using c or c++?
4
2419
by: Sumaira Ahmad | last post by:
Hi, Is there any way of playing songs and downloading songs from a server onto a client machine. I want to develop an application such as a music portal which allows clients to play songs that reside on a Web Server. So does the web server need to send the song as an attachment to the ASP.NET Web application or does it do streaming?? And how is it achieved?? Please any ideas or any hints will be highly appreciated.
5
1952
by: Tom W | last post by:
Ok, hi evryon now I swear I put this post up yesterday but I cant find it anywhere so ill put it up again So I'm making a program to play music but the code ive got for the open dialog thing isn't working. This is what iv'e go \\\\\\\ Private Sub MenuItem2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnOpen.Clic Dim OpenFileDialog( Dim openFile As New System.Windows.Forms.OpenFileDialo openFile.DefaultExt =...
3
2379
by: Tommy DN | last post by:
I've made a program that displays the track that's playing on a (internet)radiostation. The name of the "now playing" track comes from the radiostation's website ( from the statusbar using the Internet Explorer object model ). Now, I want the name of the track in the person's nickname from MSN Messenger ( the "now playing" info that actually comes from the Windows Media Player Music Plugin ). Does anybody know how to do that ( in VB.Net...
4
3887
by: Doug van Vianen | last post by:
Hi, I am using Visual Basic 6 to generate web pages that can be used by the members of our seniors' computer club to create e-cards that include their own pictures. I wish to include background music. The music plays okay until the viewer clicks to cause some JavaScript code to execute. When the JavaScript code runs it stops the music even though the coding is just used to resize pictures and divs on the page (viz, it is not supposed...
11
2190
Death Slaught
by: Death Slaught | last post by:
i need a music player on my site ive tried the embed tag but i cant ever get the music to play also i would like to have script that lets my users download a file but i know nothing about downloading script so im not asking for a script but help learning how to make one. Thanks, Death Slaught
2
1514
by: sumaabey | last post by:
Thanks in advance. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
0
9837
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9682
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10870
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10621
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10267
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6998
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5845
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4474
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3123
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.