Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 1st Sep 2008, 10:32 AM   #1
Active Warrior
 
Join Date: 2008
Location: Mayberry RFD N.C>
Posts: 49
Thanks: 0
Thanked 3 Times in 2 Posts
Default
Audio Looping?
Share on: 
fb share twitter share gplus share more share

Can someone tell me the script or way to LOOP a short wav or mp3 or midi audio on my web page... I have Impact Web Audio & web audio Plus software & no where does it tell me to LOOP so it plays over & over Thanks
cyberwizard is offline  
Unread 2nd Sep 2008, 06:30 PM   #2
JWAllen
 
Join Date: 2003
Location: Riverside, CA
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Audio Looping?
Share on: 
fb share twitter share gplus share more share

Here are the tags you'll need. The BGSOUND SRC tag is for Internet Explorer, the Embed tag is for Netscape Navigator:

<BGSOUND SRC="sound.wav" LOOP=INFINITE>
<EMBED SRC="sound.wav" AUTOSTART="true" HIDDEN="true" LOOP="true">

This will create an infinitely looping sound for both IE and Netscape.

To create a sound that doesn't loop:

<BGSOUND SRC="sound.wav" LOOP=0>
<EMBED SRC="sound.wav" AUTOSTART="True" HIDDEN="True" LOOP="false">

With the later versions of Internet Explorer, however, the above tag will give IE users two sound controls. To avoid that, add the NOEMBED and closing /NOEMBED tag around the BGSOUND SRC tag:

<NOEMBED>
<BGSOUND SRC="sound.wav" LOOP=0>
</NOEMBED>
<EMBED SRC="sound.wav" AUTOSTART="True" HIDDEN="True" LOOP="false">

SecretWebStash.com - Warriors-only downloads. Use RSVP code "Warriors".
Register first, then while you are still logged in, paste into address bar: "http://www.secretwebstash.com/Default.aspx?rsvp=Warriors"

www.pdmwebsolutions.com Web Hosting & Website Design - Riverside, CA
jallen001 is offline  
Closed Thread


Bookmarks

Tags
audio, looping


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 05:51 AM.