|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
website background music
I have embedded background music into a page with:
<embed src="tune.mp3" autostart=true hidden=true id="song" enablejavascript="true"> the problem with this is that the song stops often because it has not fully loaded up when it starts to play. Is there a javascript or something of that nature that will load the song up first then try and play it? I am open to any other ideas too |
|
#2
|
||||
|
||||
|
I am open to any other ideas too
How about not using background music? =) From what I remember, MP3 support was kind of sketchy... <embed> was usually used for MIDIs and small WAV files. What does "enabledjavascript" do? [i mean, its obvious, but why/when would you use it?] |
|
#3
|
|||
|
|||
|
well I agree, I dont want to have music on the site either, but the customer is always right, my client really wants music on the site, I am thinking I am going to just try and drop the frequency
I have buttons on the site the utilize javascript to turn the music on and off, I wanted to use my own skin, since the console was quicktime in FF and win media player in IE, which screwed up my design |
|
#4
|
|||
|
|||
|
Try using the <object> tag instead of <embed>. It's designed for multimedia; it may have a some built-in loading (I know it's got a parameter that shows something else while the object's loading). I've never tried it, though, so I'm just guessing.
|
|
#5
|
||||
|
||||
|
Quote:
Quote:
There ya go...glad I could help. ![]() |
|
#6
|
|||
|
|||
|
Quote:
You're sorta right. Although he's your customer, we're his customers, and we're right. You should inform him that having background music drives traffic away from his site, not to it. ![]() |
|
#7
|
|||
|
|||
|
Quote:
I should read the whole thread before posting. ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Advanced Web Development > website background music |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|