chromium-embedded

Separate cache per browser?

天涯浪子 提交于 2019-12-04 08:43:53
Currently I'm setting the cache path as follows: CefSettings settings = new CefSettings(); settings.CachePath = mycachePath; Cef.Initialize(settings); var browser = new ChromiumWebBrowser(myUrl); The above works. However, I need to login to a website with 2 different accounts simultaneously but it uses the same cookie container. So if I login with one account and then the other, the first account is overridden. Is it possible to have a have a cache path per browser? Or is there a better way to handle this situation? It looks like you're using CefSharp ? If so, looking through the code, it

Cant play video (mp4) in Chromium Embedded Framework

。_饼干妹妹 提交于 2019-12-04 07:34:18
I am working with windows forms app and embedded Chromium Embedded Framework(CEF) everything working well except Video and Audio. How can i make it work. Thanks in advance CEF doesn't supports propriety audio and video formats like mp3, mp4. it supports open formats. for more detailed info check out https://code.google.com/p/chromiumembedded/issues/detail?id=371 you need to compile CEF with options to enable proprietary codecs (i.e. H.264 and MP3). you can read my answer with all the details on how to compile CEF with enabled proprietary codecs the magic now happens here: set GN_DEFINES=is

Is Google Chrome embeddable?

梦想与她 提交于 2019-12-03 18:32:32
问题 I've asked myself if one can embed the google chrome browser engine in an own application. I'm using Delphi 2009. There's an IE ActiveX wrapper component delivered with the IDE. Also, there's a Firefox ActiveX component out there, but it's based on very old code. I'd like to embed the chrome engine. Is there a way to do this? Thanks in advance, David 回答1: Google Chrome is basically WebKit layout engine + nice UI. And WebKit can be embedded. There's also chromium embedded framework (CEF). And

How to use Chromium Embedded Framework with Visual Studio 2017 (C++)?

☆樱花仙子☆ 提交于 2019-12-03 10:08:58
问题 I would like to use CEF with VS 2017 using C++ (not C#, so CEFSharp won't work here). I can't quite understand how to do this. From what I have read, it seems like I need to build the source into a .sln file and then modify the existing code, however their site also says there are binaries available to download, which is confusing me. How do I program in C++ using CEF and VS 2017? 回答1: Download CEF3 binaries, and extract archive to folder Download and install CMake Open CMake, and set: Where

CefWebBrowser doesn't show up

六月ゝ 毕业季﹏ 提交于 2019-12-03 07:36:00
问题 Solution: This issue is caused by not loading the CefRuntime in the Program.cs. Simply copying all code in the sample file to your Program.cs. And then if your CefWebBrowser is stuck and having "a spinning wait mouse cursor" then set the SingleProcess = true. The reason is if the browser is called from a recognized secondary process, the whole process will be blocked until the process is ended. Question: Anyone has experience using CEF (Chromium Embedded Framework) in WinForm? This component

How to use Chromium Embedded Framework with Visual Studio 2017 (C++)?

二次信任 提交于 2019-12-03 03:44:21
I would like to use CEF with VS 2017 using C++ (not C#, so CEFSharp won't work here). I can't quite understand how to do this. From what I have read, it seems like I need to build the source into a .sln file and then modify the existing code, however their site also says there are binaries available to download, which is confusing me. How do I program in C++ using CEF and VS 2017? Download CEF3 binaries, and extract archive to folder Download and install CMake Open CMake, and set: Where is the source code: folder Where to build the binaries: folder/build Press Configure Press Generate Open

how to set the support of mp3 and ffmpeg codec libraries to cef?

泪湿孤枕 提交于 2019-12-03 03:42:51
I want to have cef lib with support of mp3 and ffmpeg codecs. How can i re-compile the library of cef with these codec features inside it. I want to learn, where should I edit inside the cef library or cefsharp? Then how to compile it to reuse it.. I am using cefsharp version 47. NOTE: PLEASE CONSIDER LEGAL ISSUES BEFORE PROCEEDING There is a way to enable MP3 support in CEF, but you'll have to modify the cef.gypi in the source distribution, regenerate the visual studio projects and rebuild. Step by step instructions: a a See this SO question: Chromium Embedded Framework MP3 support It

How to access elements with CEFSharp?

十年热恋 提交于 2019-12-02 08:51:13
问题 I am working with CEFSharp C# for the first time and im having a hard time figuring out how to make the browser do anything but browser.Load(""); I have been searching many websites for hours and hours and nobody seems to have an answer or have this problem. I am trying to access the website elements as if they were c# form controls... in a nutshell. I'm not supposed to ask broad questions... how would I do something like browser.Click("/*elementName*/") ? Is Also, is there no way to do

CefSharp doesn't play mp3

大城市里の小女人 提交于 2019-12-02 08:33:41
问题 Is there a way to enable mp3 on my CefSharp project? I'm looking aroung that CefSharp does not support Mp3 format. Is there another way to play mp3 files? 回答1: There is a way to enable MP3 support in CEF, but you'll have to modify the cef.gypi in the source distribution, regenerate the visual studio projects and rebuild. Detailed build instructions: http://code.google.com/p/chromiumembedded/wiki/BranchesAndBuilding Enabling proprietary codecs support: http://code.google.com/p/chromiumembedded

How to access elements with CEFSharp?

只谈情不闲聊 提交于 2019-12-02 04:24:34
I am working with CEFSharp C# for the first time and im having a hard time figuring out how to make the browser do anything but browser.Load(""); I have been searching many websites for hours and hours and nobody seems to have an answer or have this problem. I am trying to access the website elements as if they were c# form controls... in a nutshell. I'm not supposed to ask broad questions... how would I do something like browser.Click("/*elementName*/") ? Is Also, is there no way to do something like browser.TextBox1.Text = "blah"; ? @Jim W my code so far: updated 6/6/2018 4:29 pm using