embed sound loop code

  • Thread starter Thread starter Teriel9
  • Start date Start date
T

Teriel9

Hi All,
I am using the following code.
<embed src="ringin.wav" autostart="true" loop="false" width="2" height="0">
</embed>.

However I would like to have the wav file play 5 times.
Can anyone please advise the change to do so.
Thanks in advance
Teriel9
 
Don't "embed" it, set it as a background sound set to play 5 times.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
Hi Steve, Many thanks for your prompt reply.
There seems to be a problem with BG Sound and Mozilla, which is why I used
"embed". Is there any way I can find out how to do it in "embed" please.
Thanks again
Teriel9
 
Google is your friend- result #2 from the query: embed audio
repeat

Use your loop setting, and set it to 5.

If that still does not work, edit the audio and copy and
paste it 4 time to the end of the file. Be careful and
minnful of the size. I personally don't care to listen to
websites feeding me audio, especially if I need to wait for
it


Teriel9 wrote:
: Hi Steve, Many thanks for your prompt reply.
: There seems to be a problem with BG Sound and Mozilla,
: which is why I used "embed". Is there any way I can find
: out how to do it in "embed" please. Thanks again
: Teriel9
:
: :: Don't "embed" it, set it as a background sound set to
:: play 5 times.
::
::
:: --
:: Steve Easton
:: Microsoft MVP FrontPage
:: 95isalive
:: This site is best viewed..................
:: ..............................with a computer
:: message ::: Hi All,
::: I am using the following code.
::: <embed src="ringin.wav" autostart="true" loop="false"
::: width="2" height="0">
::: </embed>.
:::
::: However I would like to have the wav file play 5 times.
::: Can anyone please advise the change to do so.
::: Thanks in advance
::: Teriel9
 
BGsound is the IE equivalent.

<embed=....> is the netscape etc equivalent of Bgsound.

FP only has the BGsound thingy from the GUI since it obviously leans in
favour of Internet Explorer - being a MS product.
 
Hi Andrew,
Thanks for your help, I have tried changing "false" to "5" with and without
the quotes, still only a single play.
Regards
Teriel9
 
My experience -
In Firefox, setting loop to a number has no effect. In IE, setting loop to anything other
than false, loops forever.
MikeR
 
Back
Top