Note : The PlugIns collection is supported by both Netscape and Internet Explorer, although their respective support is somewhat different.
For Internet Explorer, the PlugIns collection is essentially an alias for the Embeds collection, while for Netscape, the PlugIns collection represents all the plug-ins currently installed on the client machine.
The properties of the plugins object are :
audio/wav
MIME type is named LiveAudio
As an example, the following code section checks to see whether the user has the Live3D plug-in available and if so, displays a VRML world, giving a notice if the plug-in isn't available :
var vVRMLallowed = navigator.plugins["Live3D Plugin DLL"]
if (vVRMLallowed)
document.writeln("Click <A HREF='htmlib.wrl'>here</A> to see a Virtual world"
else
document.writeln("Too bad, can't show you any virtual worlds.")
Note : It is possible to reference plugins by their name property.
© 1995-1998, Stephen Le Hunte