HTML language analysis 12: multimedia Markup

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.