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
file: /Techref/language/html/ib/Scripting_Reference/plugcol.htm, 2KB, , updated: 2004/3/1 15:47, local time: 2024/11/14 15:05,
3.133.121.241:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/techref/language/html/ib/Scripting_Reference/plugcol.htm"> The Plugins collection</A> |
Did you find what you needed? |