Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Music player suggestions

Status
Not open for further replies.
Aug 23, 2004
174
US
I am designing a website for a band and they want to have the same music playing on every page. In other words when you go from the home page to the pictures page the song keeps playing. Is my only option to use an iframe?

Thanks
 
Yup, you will need to keep an entity on the page that will no reload with each request. That means that you will either need to:

1. Program all requests in AJAX.
2. Create a website in Flash.
3. Use a frameset.
4. Use an iframe.
 
It's a bad idea to autoplay music on arriaval to a site, as you have no idea if the surfer is already playing music on the computer... This is more true with the increased popularity in tabbed browsing... "which frelling tab is it? I'll just kill them all, then."

If you must do it, because the client demands it against your recommendation, please stay away from flash unless the content is Flash based. Flash for Flash content is sometimes nice... Flash for background noise is a sin.

I could see this being a good use of an iframe or ajax, if you have to do it. But my recommendation would be just to let the surfers download and listen to the track.

I'm sorry if this reads like an editorial instead of technical advice, but I'm tired of people who think this is a good idea.

[plug=shameless]
[/plug]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top