Runboard.com
Слава Україні!



runboard.com       Sign up (learn about it) | Sign in (lost password?)

 
The Wizard3 Profile
Live feed
Blog
Friends
Miscellaneous info

Owner / Designer

Registered: 06-2006
Location: Castle Belgalor
Posts: 2201
Karma: 2 (+3/-1)
reply | quote
Adding Sound to your Board


To add sounds to a web page... we will use the <embed> tag. This tag supports many common file formats... such as .wav, .mid, .mp3, and .au.

Here is the basic structure of the tag:
<embed src="filename.ext" width="x" height="x" autoplay="x" hidden="x" loop="x"</embed>

If you want the file to automatically play when the web page is loaded, set autoplay="true".
If you do not want the file to automatically start, set autoplay="false".
If you want the control box to be hidden, use the hidden="true" attribute.
  
Normally the file will stop playing after it is completed the first time, so if you want it to repeat again and again use the attribute loop="true". To make it play once use loop="false"
15/12/06, 0:27 Link to this Post Send a PM to this person Blog
 


Add A Reply





You are not logged in (login)
--> The Runboard Web-Ring <--
Previous | Home | Join | Random | Next