Mega Code Archive

 
Categories / JavaScript DHTML / Development
 

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>