Determining Whether the LiveVideo Plug-In Is Installed : PlugIn « Development « JavaScript DHTML






Determining Whether the LiveVideo Plug-In Is Installed


<HTML>
<HEAD>
<TITLE>Detecting Installed Plug-ins</TITLE>
</HEAD>
<BODY>
<H1>A video of the planet yourWav</H1>
<SCRIPT LANGUAGE="JavaScript"><!--
plugins = navigator.plugins;

if(plugins["NPAVI32 Dynamic Link Library"]){
 document.write('<EMBED SRC="yourFile.avi" AUTOSTART="TRUE"')
 document.writeln('WIDTH="350" HEIGHT="270">')
}else{
 document.write('Sorry. Your browser does not have ')
 document.writeln('LiveVideo installed.')
}
// --></SCRIPT>
</BODY>
</HTML>

           
       








Related examples in the same category

1. Listing Plug-In Properties
2.Synchronizing Two Plug-Ins
3. Accessing a Plug-In
4.JavaScript to enumerate and display all installed plug-ins
5.Displaying Plug-In Information
6.Display PDF using plugin
7.Find pluin for Midi
8.Scan through each plug-in by provided parameters
9.Displaying a List of Navigator Plug-Ins
10.Properties of the Plugin Object