HTML plugin


The function of the plugin is to extend the functionality of the HTML browser.

HTML helper (plugin)

A helper application is a program that can be launched by a browser. A helper application is also known as a plugin.

Auxiliary programs can be used to play audio and video (and others). The helper is loaded using the <object> tag.

One advantage of using a helper to play video and audio is that you can allow the user to control some or all of the playback settings.

Plugins can be added to the page via <object> tags or <embed> tags. 

Most auxiliary applications allow manual (or programmatic) control of volume settings and playback functions such as back, pause, stop, and play.

 
We can use the <video> and <audio> tags to display video and audio.    
 

<object> element

The <object> tag is supported by all major browsers.

The <object> element defines the object that is embedded in the HTML document.

This tag is used to insert objects (such as embedding a Java applet, PDF reader, Flash player in a web page).

<object width="400" height="50" data="bookmark.swf"></object>

The <object> element can also be used to include HTML files:

<object width="100%" height="500px" data="snippet.html"></object>

Or insert a picture:

<object data="audi.jpeg"></object>

<embed> element

The <embed> element is supported by all major browsers.

The <embed> element represents an HTML Embed object.

The <embed> element has been around for a long time, but it wasn't specified before HTML5, and the element will be validated on HTML 5 pages, not on HTML 4.

<embed width="400" height="50" src="bookmark.swf">

Note that the <embed> element does not have a closing tag. Cannot use alternate text.

The embed> element can also be used to include HTML files:

<embed width="100%" height="500px" src="snippet.html">

Or insert a picture:

<embed src="audi.jpeg">


Last Updated: 2018-08-22 13:33:49 By akshay

SHARE THIS

share_facebook share_twitter share_google_plus

Please Comment Here :