The approach to append video to your webpage is to include the HTML tag called <embed>. This tag source the browser itself to include controls for the multimedia provided browser supports with media type.
Following the media type used in embedded code:
- .swf files – the file types formed by Flash program.
- .wmv files – Microsoft’s Window’s Media Video file types.
- .mov files – Apple’s Quick Time Movie format.
- .mpeg files – movie files formed by the Moving Pictures Expert Group.
<title>HTML embed Tag</title>
<embed src=”myembded.mid” width=”100%” height=”100″ ></embed>
<embed> Tag Attributes
The list of attributes of <embed> tag.
|align||It could be used for set to either center, left or right.|
|autostart||This is boolean attribute and used for automatic start of media. You could set it either true or false.|
|loop||If you want to played continuously (put loop to true), a certain number of times|
|width||Width in pixels|
|height||Height in pixels|
|name||A name used to reference the aim.|
|src||URL of the aim to be embedded.|
HTML <bgsound> tag to take part in a soundtrack in the background of webpage. This tag is supported by Internet Explorer. It downloads and plays an audio file when the host document is first downloaded by the user and displayed. This tag is having two attributes loop and src. Both these attributes have equal meaning as explained above.
<title>HTML embedded Tag</title>
HTML Object tag
HTML 4 establishes the <object> tag, which suggests generic object inclusion. The <object> tag permits HTML to specify everything required by an object for its presentation by a user agent.
<object data=”objectt.htm” type=”text/html” width=”500″ height=”500″> Result: <a href=”objecttest.htm”>objecttest.htm</a></object>