title: How to add plugins to node-webkit app
body: <p>How to add plugins like flash and java to a node-webkit app?</p>
  
  <p>I have an iframe on my node-webkit app and when I view a page that uses flash the page won't load.</p>
  
  <p>Any ideas?</p>
  
  <p><strong>UPDATE 1</strong></p>
  
  <p>According to the <strong><a href="https://github.com/rogerwang/node-webkit/wiki/Third-party-browser-plugins" rel="nofollow">docs</a></strong></p>
  
  <blockquote>
    <p>To see whether your plugins are loaded, you can use navigator.plugins
    in Developer Tools' console.</p>
    
    <p>Your application can also use navigator.plugins. (For example, it's
    possible to warn the user about a missing plugin or to use a
    workaround.)</p>
  </blockquote>
  
  <p><code>console.log(navigator.plugins)</code> returns that Flash plugin is available. So what's wrong here?</p>
  
  <p><strong>UPDATE 2</strong></p>
  
  <p>Somehow the plugins are now suddenly working, just make sure that the clients system has the plugins you need, or you can packaged it with your app.</p>
  
  <p>Still having problems though, like how to tell your app which plugin to use.</p>