CefSharp.WinForms plugin stops working after adding "enable-features" configuration #4739
k4mikazzeeHD
started this conversation in
General
Replies: 1 comment
-
Also asked at https://stackoverflow.com/questions/78093866/cefsharp-winforms-plugin-stops-working-after-adding-enable-features-configurat Please just as your question once in future. Check the log file for errors https://github.com/cefsharp/CefSharp/wiki/Trouble-Shooting#log-file As it's not a feature that's enabled by default it's not something that is tested in the context of CEF. You'll likely need to search/ask on https://www.magpcss.org/ceforum/index.php |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am encountering an issue with my plugin developed using Class Library where I'm integrating CefSharp.WinForms to connect to the web. Initially, everything works as expected, and the browser window opens without any trouble.
However, I need to adjust a specific configuration to connect to Google Earth (without this configuration, earth never loads):
settings.CefCommandLineArgs.Add("enable-features", "SharedArrayBuffer");
Unfortunately, after adding this line, the functionality of my plugin ceases to work entirely.
My code:
`public partial class Form1 : Form
{
public CefSharp.WinForms.ChromiumWebBrowser chromeBrowser;
public Form1()
{
string cefSharpWinFormsPath = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "CefSharp.WinForms.dll");
Assembly.LoadFrom(cefSharpWinFormsPath);
}`
Am i doing something wrong?
As I mentioned, removing the settings line restores functionality to the plugin. However, any attempt to alter the configuration, regardless of the specific change made, causes the plugin to malfunction.
Beta Was this translation helpful? Give feedback.
All reactions