Plug-ins are programs that add the ability to play audio, video, animation etc. Some examples of plugins are the Adobe Flash Player, QuickTime etc. MIME Types are used to exchange file types across the Internet, such as image, audio, video etc.
Note: The MIME Type of plugins vary according to each platform. The MIME types array and plugins array is empty in IE. IE support ActiveX objects.
Let us see some code:
In the code shown above, we are detecting the installed plug-ins and the MIME types that it handles.
In order to check for a particular plugin, like the Shockwave plugin, use the following code:
Will you give this article a +1 ? Thanks in advance