Zen Cart Logo
Forums / General Questions / How do I embed music into my zencart site?

How do I embed music into my zencart site?

Locked

Views: 1,194

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
9 Jul 2009, 1:11 PM
#1
gregjs avatar

gregjs

New Zenner

Join Date:
Jun 2009
Posts:
6
Plugin Contributions:
0

How do I embed music into my zencart site?

I am using version 1.3.8a. I've not installed any addons, I've just modified to my websites colors, configured and added products. The normal stuff.

I would like to embed music into the zencart so that when visitors are shopping they will have music to listen to.

Is there a way to do that?

Greg.

9 Jul 2009, 1:44 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How do I embed music into my zencart site?

Don't do it!

I detest sites that play music at me, especially without warning or without a highly visible way to turn it off. There could be some markets where it is appropriate, but anyone at work will probably have to leave your site immediately, for one thing.

9 Jul 2009, 1:55 PM
#3
gregjs avatar

gregjs

New Zenner

Join Date:
Jun 2009
Posts:
6
Plugin Contributions:
0

Re: How do I embed music into my zencart site?

Thanks Glenn, but it is the request I have, it's not my choice. Does anyone know how to embed music into zencart so that it plays no matter where they navigate to while in the shopping cart?

9 Jul 2009, 2:48 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How do I embed music into my zencart site?

As far as I know, any music will restart when the user goes to a new page. If you have to use music, please do your client a favor and include a way for customers to turn it off. Just because your client likes certain music doesn't mean all their customers will want to hear it.

While looking for info on web music, I came across this which you might ask your client to read:
http://www.htmlgoodies.com/introduction/newsletter_archive/design/article.php/11912_3474211_1

This may have the info you need for controlling music on web pages:
http://www.wdvl.com/Multimedia/Sound/Audio/include.html

9 Jul 2009, 3:12 PM
#5
gregjs avatar

gregjs

New Zenner

Join Date:
Jun 2009
Posts:
6
Plugin Contributions:
0

Re: How do I embed music into my zencart site?

I have music on the rest of the website. But when they click on the products button which takes them to the zencart, I need the music to play there too.

So I need to know specifically where to put the embed code for the zencart. Which php file? Or which html file?

And where in that file do I place the embed code, it's only one line long, not vary much code.

Greg.

12 Jul 2009, 10:04 PM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How do I embed music into my zencart site?

There are no HTML files in Zen Cart. As a guess, I might try /includes/templates/your_template/common/tpl_main_page.php. You know more than I do about embedding music, so put it in the same location as you would expect to in an HTML file - just make sure it goes in an HTML section of code, not a PHP section.