CefSharp3 code fails to set the plugin path
On a machine without Flash player installed, I'm getting Couldn't load plug-in. when trying to load flash content
This is the code that I've added
[I took CefSharp3 from NuGet on April 27th 2015]
Cef.AddWebPluginPath(Path.Combine(Directory.GetCurrentDirectory(), "NPSWF32_13_0_0_214.dll")); // Flash 13.0.0.214
Cef.AddWebPluginPath(Path.Combine(Directory.GetCurrentDirectory(), "np-mswmp(1_0_0_8).dll")); // Windows Media Player 1.0.0.8
Cef.RefreshWebPlugins();
[I also tried this relative path - @"./NPSWF32_13_0_0_214.dll" but no success]
This code worked on CefSharp1
var settings = new CefSharp.Settings();
settings.AddPluginPath(@"./NPSWF32_13_0_0_214.dll"); // Flash 13.0.0.214
settings.AddPluginPath(@"./np-mswmp(1_0_0_8).dll"); // Windows Media Player 1.0.0.8
CEF.Initialize(settings);
Please advise
Thanks!
Michal