Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need help adding some audio


larrykmuzic

Recommended Posts

I would like to add an audio file that plays a small clip each time the home page is loaded. I have no idea where to even start looking to add this in. Any help would be great!!

 

I already have the audio file I just need to know where to put it so it only plays once each time the home page is loaded.

 

thank you in advance.

Link to comment
Share on other sites

go into the includes folder and stick it at the bottom of "footer.php" that should work.

 

Then google for "music on website code" and it should give u small piece of code to stick it on website if you dont know it.

I didnt have any freakin links in my sig!!! Pm me for help any other things ;-) There!

Link to comment
Share on other sites

I would like to add an audio file that plays a small clip each time the home page is loaded

 

Please tell me your website name - so I can be sure to never visit it by mistake.

 

Sticking audio clips on homepages belongs in the stone age of web design - and was really annoying even then.

 

I'd advise you not to do that.

 

Vger

Link to comment
Share on other sites

Please tell me your website name - so I can be sure to never visit it by mistake.

 

Sticking audio clips on homepages belongs in the stone age of web design - and was really annoying even then.

 

I'd advise you not to do that.

 

Vger

 

Its a quick 6 second drop from our featured artist of the month. Its a cd / digital download site. Just him giving a little shout out to the site. It worked very well on our previous site, I just havent worked with php enough to know where to slip the code in at.

 

I dont want to have a player or anything for it, I just want it to play once on load and then never play again unless the home page is loaded, I dont want it playing on any other page loads.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...