Search code examples
javajavascriptfirefoxpluginsquicktime

Testing if Quicktime and Java are installed?


In Javascript how can I test if the user has the quicktime plugin and java plugins installed?


Solution

  • For Java, you can use navigator.javaEnabled(). Or you can look here: http://www.pinlady.net/PluginDetect/JavaDetect.htm

    For QuickTime, you can do:

    var QtPlugin = navigator.plugins["Quicktime"];
    if (QtPlugin) {//QuickTime is installed}
    

    See here: http://javascript.internet.com/miscellaneous/check-plugins.html