Analysis of HTML language-12 ▲ Top
12. Multimedia mark
<BGSOUND> <EMBED> |
■ <BGSOUND>: |
<BGSOUND> it is used to insert background music, but only applies to IE. There are not many parameter settings. As follows: <BGSOUND src = "your. mid" autostart = true loop = infinite>
- Src = "your. mid"
Set the midi file and path, which can be relative or absolute.
- Autostart = true
Whether to automatically play the music after the music file is uploaded. True: Yes; false: No (internal value ).
- Loop = infinite
Whether to automatically replay the video. LOOP = 2 indicates repeated twice, and Infinite indicates repeated multiple times.
|
■ <EMBED>: |
<EMBED> is used to insert various multimedia files. The format can be Midi, Wav, AIFF, AU, etc. Netscape and the new version of IE support. The parameter value is set to multiple dimensions. As follows: <EMBED src = "your. mid" autostart = "true" loop = "true" hidden = "true">
- Src = "your. mid"
Set the midi file and path, which can be relative or absolute.
- Autostart = true
Whether to automatically play the music after the music file is uploaded. True: Yes; false: No (internal value ).
- Loop = "true"
Whether to automatically replay the video. Loop = 2 indicates Repeat twice, true is, false is not.
- Hidden = "true"
Whether the control screen is completely hidden. True indicates yes, and no indicates no (inner ).
- Starttime = "minute: second"
Set the start time of the song. For example, starttime = "" indicates that playback starts from 30th seconds.
- Volume = "0-100"
Set the volume size. The value ranges from 0 to 100. The internal setting is the user's system.
- Width = "integer" and high = "integer"
Set the width and height of the control screen. (If hidden = "no ")
- Align = "center"
Set the control mode of the screen and text next to it. The value can be top, bottom, center, baseline, left, right, texttop, middle, absmiddle, and absbottom.
- Controls = "smallconsole"
Set the appearance of the control screen. The default value is console. Normal console panel Small smallconsole panel Playbutton only displays the play button Pausecutton only displays the pause button Stopbutton: only show the stop button Volumelever only displays the volume adjustment button
|