Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Music (Midi) with Background Images


mtechama

Recommended Posts

Posted

How can I put music file with my background images?

 

this is what I have:

 

BODY {

text-align: center;

background: #ffffff url('images/christmascg.gif') fixed;

color: #000000;

margin: 0px;

 

The name of my music is "jingle.mid"

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Posted
How can I put music file with my background images?

 

this is what I have:

 

BODY {

text-align: center;

background: #ffffff url('images/christmascg.gif') fixed;

color: #000000;

margin: 0px;

 

The name of my music is "jingle.mid"

 

Plus play different midi files for each visit of the site

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Posted

Anyone?????

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Posted

I need to find out ASAP?

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Posted

Well I guess no one is going to help me then..................... :angry:

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Posted

what is the coding for background music with background images in stylesheet.css

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Posted

what is the coding for background music with background images in stylesheet.css

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Posted
Why would you even want it? MIDI hurts people's ears.

 

well any type of format I just want to how to put background music

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Posted

you have to try them and see if they work on your site.

 

for instance:

<embed src="yourmusicfile.mid" autostart="true" loop="true"

width="2" height="0">

</embed>

 

where it reads yourmusicfile.mid, change that to whatever the filename is, that you uploaded to your site. if that one doesn't work, try one of the alternate codes available on that page

 

put it in includes/footer.php

 

i have never heard of anyone playing midi's through a stylesheet

Posted
you have to try them and see if they work on your site.

 

for instance:

where it reads yourmusicfile.mid, change that to whatever the filename is, that you uploaded to your site. if that one doesn't work, try one of the alternate codes available on that page

 

put it in includes/footer.php

 

i have never heard of anyone playing midi's through a stylesheet

 

it have worked but the problem is now is everytime they click on anything it restarts the music over

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Posted

i don't know how to keep it playing without reloading with every click, aside from downloading it to the users' computer (if you try that, you may have some angry visitors and lose a lot of sales). maybe delete it from includes/footer.php and only put it on your main page? (index.php)

 

alternatively, you can make it into a pop-under and it will stay put until the user deletes the pop under window.

 

this won't work for people with strong pop up blockers though.

Posted
i don't know how to keep it playing without reloading with every click, aside from downloading it to the users' computer (if you try that, you may have some angry visitors and lose a lot of sales). maybe delete it from includes/footer.php and only put it on your main page? (index.php)

 

alternatively, you can make it into a pop-under and it will stay put until the user deletes the pop under window.

 

this won't work for people with strong pop up blockers though.

 

if you put in the index.php its still does it

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Posted

there is no real way to have it continuosly play while you click or reload a page. because all of the page data is being resent to the browser the moment a page is loaded.

 

in order to have it be continuous, you would have to impliment some sort of external download and call the file that way. in any case, doing this would likely slow down your overall page load

 

for reference: most visitors on an online shop won't be on any single page long enough to truly absorb any background music. that's why nobody really uses bg music anymore.

what most people will hear is only the first 2-3 seconds of the clip before they start moving around

Posted

well at least that I have tried

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Archived

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

×
×
  • Create New...