PDA

View Full Version : bgsound question


andersonwd
6-20-02, 02:18 AM
Hello,

It's late and I'm not thinking too clearly. I'm not very familiar with using .wav files for background sound, but I got it to work. I want to only loop it once, which I have successfully done.

My problem is this...how do I get my "Replay Message" link to just reloop 1 more time without opening Real Player or Windows Media Player? I just want it to reloop in the background.

Here is what I have just to have it. I knew it was wrong to begin with, but just wanted something in that cell to keep my layout consistent.

<a href="/welcome.wav">Replay Message</a>

Can anyone help? Thanks.

Sherry

(jj)
6-20-02, 04:38 AM
About the only way I can think that would allow you to do that, is to have it display a control panel with the "play" "stop" etc buttons on it.

You can do this by using the "embed" command something like this:

<embed src="/welcome.wav" autostart="true" width="150" height="45" controls="true" loop="false">

<bgsound src="/welcome.wav" loop="0">


If this is inside of a table cell, you can play with the width and height settings to make it so only the play and stop buttons are displayed.


Just my "For What It's Worth"

andersonwd
6-20-02, 11:27 AM
THANK YOU, THANK YOU, THANK YOU!

I saw that code in my reading last night, but it wasn't registering that it was what I wanted. Finally, I gave up and intended to try again this morning. What a great surprise to find the answer here before I pulled out anymore of my hair. :)

Thanks, JJ!

Sherry