It simple.....
You can use:
The embed html below is the example html code for the embed tag
use the example html source code above to play audio on your webpage, here's a break down of the example html source code<embed src="soundfile.mid" hidden="false" border="0" width="310" height="45" autostart="true" autoplay="true" loop="true" volume="75%">
How the embed attributes work
src="soundfile.mid" the url of the file(src="http://www.whatever.com/soundfile.mid")
hidden="false" shows the controls
hidden="true" hides the controls
width="310" height="45"
the dimensions of the control measured in pixels, play around with these
autostart="true"autoplay="true" if set to true play automatically on load
autostart="false" autoplay="false" if set to false do not play
loop="true" if false play once only, if true repeat constantly
volume="75%" set the volume as a percentage
AND it work with other files as well....for example below for MP3....
Copy and paste this code into either the Header & Body or the Footer. It does not matter:
HTML
autoplay - Automatic Play, use TRUE to enable it, use FALSE to disable it<embed src="http://www.yoursite.com/your_file.mp3" autoplay="true" loop="false" hidden="false" volume="100"></embed>
loop - this tells it to play over and over again, FALSE makes it disabled, a specific number like 2 would repeat it 2 times
hidden - use TRUE to hide it, use FALSE so that it shows up
volume - the default volume, 0 is nothing, 1 is some volume, 50 is half, and 100 is full. You can use any other number you wish.
You can use most types of audio and video files. Here are some examples:
.mp3
.m3u
.mpg
.mpeg
.mpe
.wma
.wmv
.wav
NOTE: The file MUST be uploaded somewhere in order to work.
Good luck !




Reply With Quote
Bookmarks