<embed> tag :
The <embed> tag can be used if you want the video to appear on the web page.
This tag also work with audio as well as audio & video both together.
It has following attributes:
Attributes | Description | Values |
---|---|---|
height : | Set the height of the window for video to be appear. | pixels |
width : | Sets the width of the window in pixels or percentage of available screen resolution. | pixels |
name : | Provides label for embedded object. | text |
pluginspace : | Tells the browser where to find the plugin if it is not installed on the client computer. | URL |
src : | URL of the data object. | URL |
controller : | Specifies whether you want the media controller bar to be shown or not. | true or false |
autoplay : | Sets whether the media element should start automatically or not. | true or false |
loop : | Allows you to have the movie play continuously. true-plays forever from start to end false-pays once palindrome-plays forever forwards and backwards | true, false or palindrome |
playeveryframe : | Sets whether to play all of the frames of the movie or not. Setting true causes the movie to play slower. | true or false |
Now let see the eg.
<embed src="http://www.youtube.com/v/RduBGc7Aafk&hl=en&fs=1" height="200" width="300" pluginspace="http://www.macromedia.com/go/getflashplayer" controller="true" autoplay="true" loop="true" >
</embed>
0 comments:
Post a Comment