Parsing HTML Language (12) Multimedia markup

Source: Internet
Author: User
Tags insert integer relative
Media
<BGSOUND>
<EMBED>
<bgsound>:
<BGSOUND> is used to insert background music, but only for 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 music will be played automatically after the music file has passed through. True is, False no (default).
  • Loop=infinite
    Whether to automatically repeat playback. loop=2 says repeat two times, Infinite means repeat several times.
<embed>:
<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 to 狻 more. As follows

<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 music will be played automatically after the music file has passed through. True is, False no (default).
  • Loop= "true"
    Whether to automatically repeat playback. 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 quantitative size, the value is between 0 and 100. The default is to set the user's system itself.
  • WIDTH= "integer" and high = "Integer"
    Set the width and height of the control screen. (If hidden= "no")
  • ALIGN= "center"
    Sets the alignment of the control screen and side text, and the value can be top, bottom, center, baseline, left, right, Texttop, middle, absmiddle, Absbottom.
  • CONTROLS= "Smallconsole"
    Set the appearance of the control screen. The preset value is the console.
    Console generally normal panel
    Smallconsole smaller panel
    PlayButton Show only play buttons
    Pausecutton Only Show pause button
    Stopbutton Show Stop button only
    Volumelever only displays the volume adjustment button


Related Article

Alibaba Cloud 10 Year Anniversary

With You, We are Shaping a Digital World, 2009-2019

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.