By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,918 Members | 1,520 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,918 IT Pros & Developers. It's quick & easy.

Anyway to add music to the website using php

P: n/a
Hi All,

Is there any way other than frames to play music in the background of
the website without restart while navigating to different pages of the
website.

Because, frames will affect the SEO.

Is it possible to achieve it via cookies/sessions?

Kindy let me know if you have any valuable suggestions.

Thanks in advance.

Regards,
Suresh P

Sep 14 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Suresh P <su*****@angleritech.comwrote in news:1189795320.158102.94370
@d55g2000hsg.googlegroups.com:
Hi All,

Is there any way other than frames to play music in the background of
the website without restart while navigating to different pages of the
website.

Because, frames will affect the SEO.

Is it possible to achieve it via cookies/sessions?

Kindy let me know if you have any valuable suggestions.

Thanks in advance.

Regards,
Suresh P

Adding music would be a client side thing (ie: nothing to do with PHP), and
it would certainly make me close your webpage in less than 1 second.

Music is intrusive and annoying, but I guess it will let the website owner
say 'check it out, my site has music!'
Sep 14 '07 #2

P: n/a
I believe you should have a page or a flash music player that users
could use IF THEY WANTED TO, but never force them to hear your music.
Besides, you can use AJAX to make some PHP calls every second /
milisecond to remember where you are, but:

a) There will always be differences between the saved music time and
the current music time.
b) It will consume a lot of the user's CPU without any need of doing
so.
c) Most users will go away, as they might be hearing some music or
anything at all, and your music might screw them.

There is another way, without necessarily spending any SEO:

Show a main website, with the music playing, and insert an Iframe on
it. The Iframe will be the main page users will navigate, without
having to stop hearing the music.

Sep 14 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.