Determining Whether the LiveVideo Plug-In Is Installed : PlugIn : Development JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Development » PlugIn »

 

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>

           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Development
» PlugIn