HTML Embed usage page play video

Source: Internet
Author: User

Summarize all the questions in a word. Check the data said in the page play video is some plug-in just found an HTML comes with a tag very hanging look

<div >
<embed src= "${complaints.complaintcontent?if_exists}" Loop=false autostart=false name=bgss width= "height=" ">
</div>

The following is a brief talk about the use of embed

Embed
(i), basic grammar:
Embed Src=url
Description: Embed can be used to insert a variety of multimedia, format can be Midi, Wav, AIFF, AU, MP3 and so on,
Netscape and the new version of IE are supported. The URL is an audio or video file and its path, which can be a relative path or an absolute path.
Example: <embed src= "Your.mid" >

(b), property settings:
1. Auto Play:
Syntax: Autostart=true, False
Description: This property specifies whether an audio or video file will play automatically after it has been downloaded.
True: Music files are automatically played after downloading;
False: The music file does not play automatically after the download is complete.
Example: <embed src= "Your.mid" autostart=true>
<embed src= "Your.mid" autostart=false>

2. Cyclic playback:
Syntax: loop= positive integer, True, False
Description: This property specifies whether audio or video files are looped and cycled.
When the value of the property is a positive integer value, the number of cycles of the audio or video file is the same as the full value;
When the property value is true, the audio or video file loops;
When the property value is false, the audio or video file does not loop.
Example: <embed src= "Your.mid" Autostart=true loop=2>
<embed src= "Your.mid" Autostart=true loop=true>
<embed src= "Your.mid" Autostart=true loop=false>

3. Panel Display:
Syntax: Hidden=ture, no
Description: This property specifies whether the control panel is displayed and the default value is No.
Ture: Hide panel;
No: Display panel.
Example: <embed src= "Your.mid" hidden=ture>
<embed src= "Your.mid" hidden=no>

4. Start time:
Syntax: Starttime=mm:ss (min: sec)
Description: This property specifies the time at which an audio or video file starts playing. Not defined, plays from the beginning of the file.
Example: <embed src= "Your.mid" starttime= "00:10" >

5, Volume Size:
Syntax: An integer between volume=0-100
Description: This property specifies the volume size of an audio or video file. Undefined uses the settings of the system itself.
Example: <embed src= "Your.mid" Volume= "ten" >

6. Container properties:
Syntax: height=# width=#
Note: The value is a positive integer or a percentage, in pixels. This property specifies the height and width of the control panel.
Height: level of Control Panel;
Width: The height of the control Panel.
Example: <embed src= "Your.mid" height=200 width=200>

7. Container unit:
Syntax: Units=pixels, en
Description: This property specifies the height and width of the unit for pixels or en.
Example: <embed src= "Your.mid" units= "Pixels" height=200 width=200>
<embed src= "Your.mid" units= "en" height=200 width=200>

8. Appearance setting:
Syntax: Controls=console, Smallconsole, PlayButton, Pausebutton, Stopbutton,
Volumelever Description: This property specifies the appearance of the control Panel. The default value is console.
Console: General normal Panel;
Smallconsole: smaller panel;
PlayButton: Only the play button is displayed;
Pausebutton: Only the pause button is displayed;
Stopbutton: Only the Stop button is displayed;
Volumelever: Only the volume adjustment button is displayed.
Example: <embed src= "Your.mid" controls=smallconsole>
<embed src= "Your.mid" controls=volumelever>

9. Object Name:
Syntax: name=#
Description: #为对象的名称. This property names the object for other objects to take advantage of.
Example: <embed src= "Your.mid" >

10. Description text:
Syntax: title=#
Description: #为说明的文字. This attribute specifies the description text for an audio or video file.
Example: <embed src= "Your.mid" title= "first song" >

11. Foreground and background color:
Syntax: Palette=color|color
Description: This property represents the foreground and background color of an embedded audio or video file, the first value is a front color, the second value is the background
Color, middle with | Separated. Color can be an RGB color (RRGGBB) or a color name, or it can be a transparent
(Transparent). Example: <embed src= "Your.mid" palette= "Red|black" >

12, the Alignment method:
Syntax: align=top, bottom, center, baseline, left, right, texttop, middle,
Absmiddle, Absbottom
Description: This property specifies the alignment of the control Panel and the objects in the current row.
Center: Control Panel Center;
Left: The control Panel is right;
Right: The control Panel is on the left;
Top: The topmost part of the control Panel is aligned with the top of the highest object in the current line;
Bottom: The bottom of the control Panel aligns with the baseline of the object in the current line;
Baseline: The bottom of the control Panel is aligned with the baseline of the text;
Texttop: The top of the control Panel is aligned to the top of the highest text in the current line;
Middle: The middle of the control Panel aligns with the baseline of the current line;
Absmiddle: The middle of the control Panel aligns with the middle of the current text or object;
Absbottom: The bottom of the control Panel is aligned with the bottom of the text.
Example: <embed src= "Your.mid" align=top>
<embed src= "Your.mid" align=center>

HTML Embed Usage page play video

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.