-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Hi, thank you for webview linux package, i want to display raw html content inside linux webview
I try to fork package and override loadUrl method something like this
void WebviewHandler::loadUrl(int browserId, std::string url)
{
std::stringstream ss;
ss << "<html><body bgcolor=\"white\"><h2>Failed to load URL</h2></body></html>";
auto it = browser_map_.find(browserId);
if (it != browser_map_.end()) {
it->second.browser->GetMainFrame()->LoadURL(GetDataURI(url, "text/html"));
}
}
but i have some problem with display huge html causing crash my app or html just dont load
Metadata
Metadata
Assignees
Labels
No labels