<BGSOUND> is used to insert background music, but only applies to IE, its parameters are not set much. As follows <bgsound src= "Your.mid" autostart=true loop=infinite>
- src= "Your.mid"
Set MIDI files and paths that can be relative or absolute.
- autostart=true
Whether it will play automatically after the music file has been downloaded. True is, False no (default).
- Loop=infinite
Whether to play it again and again automatically. loop=2 says repeat two times, Infinite means repeat several times.
|
Embed> is used to insert a variety of multimedia, format can be Midi, Wav, AIFF, AU and so on, Netscape and the new version of IE are supported. Its parameters are set more. The following <embed src= "Your.mid" autostart= "true" loop= "true" hidden= "true" >
- src= "Your.mid"
Set MIDI files and paths that can be relative or absolute.
- autostart=true
Whether it will play automatically after the music file has been downloaded. True is, False no (default).
- Loop= "true"
Whether to play it again and again automatically. loop=2 says repeat two times, true Yes, false No.
- HIDDEN= "true"
Whether to completely hide the control screen, True is, no is no (default).
- starttime= "min: sec"
Set the time when the song starts to play. such as starttime= "00:30" indicates that playback starts at 30th seconds.
- VOLUME= "0-100"
Set the volume size, which is between 0 and 100. The default is to use the system itself settings.
- WIDTH= "integer" and high = "Integer"
Set the height and width of the control panel. (If hidden= "no")
- ALIGN= "center"
Sets the alignment of the control panel and side text, which can be top, bottom, center, baseline, left, right, Texttop, middle, absmiddle, absbottom
- CONTROLS= "Smallconsole"
Sets the appearance of the control Panel. The preset value is the console. Console General normal panel Smallconsole smaller panel PlayButton Show only play buttons Pausecutton Only Show pause button Stopbutton Show Stop button only Volumelever only show volume adjustment press
|