473,624 Members | 2,072 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 3990
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
16098
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
2171
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
2656
by: a.dheeraj.kumar | last post by:
Is there a way to play music(MP3 or Wav) using c or c++?
4
2406
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
1943
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
2368
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
3877
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
2160
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
1506
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
8236
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
8679
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...
0
8621
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8335
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
8475
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
7159
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4079
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1785
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.