How do I distribute Flash with Awesomium?
Answer:
Awesomium currently uses NPSWF32.dll for Flash plugin support (the NPAPI variant of the Flash plugin used by Firefox, Safari, and Chrome). When plugins are enabled, we locate Flash on Windows via one of four methods:
- By looking up the registry value for Flash path (eg., if the
user has used the official Flash Player installer).
- By searching Firefox's plugin paths.
- By searching the executable's current directory.
- By searching the path supplied by
WebCoreConfig::setPluginPath.
The easiest way to "distribute Flash" would then be to simply place NPSWF32.dll in your executable's directory.
As far as staying legal, however-- Adobe would prefer that you do not distribute the raw DLL and instead apply for a distribution license (which is free for PC platform) and distribute the actual installer with your application. You can find out more about Adobe Flash Player Distribution Licensing here: http://www.adobe.com/products/players/fpsh_distribution1.html