Padding Padding
Janet
Systems
 Register  Login 
Telephone  01628 566 178
Website Design, Hosting and Software Services
  Search 
Padding
corner Padding corner
Padding Padding
corner Padding corner
 HTML Articles

There are two tags which enable you to add sounds to a web page.  Internet explorer uses the <BGSOUND> tag and Netscape uses the <EMBED> tag.

<EMBED>

This may be configured to either play the sound when the page is opened, or on selection by the user.

Example:
<EMBED src=/mysounds/jingle.mid width=144 height=60 AUDOTSTART="true" LOOP="1">

AUTOSTART - when set to true will play the sound on opening the web page
Loop = n, The sound will loop n times.  set LOOP=true to loop continuously, or untiul the stop button on the console is clicked.
WIDTH and HEIGHT. This is how the sound will be display. 
HIDDEN="true", set to wither true or false tdepending on whether you want to show the item on the page

It is a good idea to provide an alternative image for users who's browser does not support the embed command.

<EMBED src=/mysounds/jingle.mid width=144 height=60 AUDIOTSTART="true" LOOP="1">
<NOEMBED>Your browser doesn't support EMBED, but you can still listen to the background sound of this page by <A HREF="/mysounds/jingle.mid"> clicking here.</A><NOEMBED>

Sound File Compatability

The <EMBED> tag will play audio files in WAV, AIFF, AU, and MIDI formats.

  • MIDI (.mid) format give you a high quality of digital sound.
  • WAV (.wav) format was developed for use with Microsoft's Windows. You can record .wav using Windows. The sound quality is not as good as MIDI, but the file is smaller.
  • AU (.au) was developed by Sun. although the sound quality of this format is poor, the compressio ratio is high thus
  • giving quite small file.  it is used for recording short speech.
  • AIFF (.aiff) was developed by Apple for music and high quality sound.

This article viewed: 1366 times Back

Copyright © 2004-2007 Janet Systems Ltd.

 Print   

DotNetNuke Website design and hosting from £15.00 per month. More...

Looking for a website design company in the Thames Valley, call us on 01628 566178

DotNetNuke Modules
DotNetNuke Modules availalble from Janet Systems

DotNetNuke Skins
DotNetNukeSkins.gif

from Janet Systems

Padding
Copyright 2002-2008 Janet Systems Ltd.   Terms Of Use  Privacy Statement Tuesday, May 13, 2008