Listing Plug-In Properties : PlugIn « Development « JavaScript DHTML






Listing Plug-In Properties

<HTML>
<HEAD>
<TITLE>Listing the properties of a plug-in</TITLE>
<SCRIPT LANGUAGE="JavaScript"><!--
function listProperties(obj) {
 document.writeln("<B>Properties of: </B>"+obj+"<BR>")
 for(var p in obj)
  document.writeln(p+"<BR>")
}
// --></SCRIPT>
</HEAD>
<BODY>
<EMBED SRC="yourfile.avi"><BR>
<SCRIPT LANGUAGE="JavaScript"><!--
listProperties(document.embeds[0])
// --></SCRIPT>
</BODY>
</HTML>

           
       








Related examples in the same category

1.Synchronizing Two Plug-Ins
2. Accessing a Plug-In
3.Determining Whether the LiveVideo Plug-In Is Installed
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