Page 1 of 1

CefGetDataURI

Posted: Sat Nov 16, 2019 5:42 pm
by dilfich
CefGetDataURI it's almost analogous

Code: Select all

webview.loadData(html, "text/html", "utf-8");
means perhaps as the do and

Code: Select all

webview.loadDataWithBaseURL("www.site.com", html, "text/html", "utf-8", null);
or something similar with the indication of the domain \ address :?:

Re: CefGetDataURI

Posted: Sun Nov 17, 2019 10:39 am
by salvadordf
CefGetDataURI is declared in uCEFMiscFunctions.pas and it's a custom function to create a URI with a DATA scheme. It uses some CEF functions to encode the URI but CefGetDataURI is not part of the CEF API.

Those webview functions are not available in ICefFrame. Only ICefFrame.LoadUrl and ICefFrame.LoadRequest are available in the CEF API.