Skip to content

WebView does not work #139

@SULAPIS

Description

@SULAPIS

When I run the program, WebView does not display the web page. The examples of this repositories can run successfully in my computer and I also use the sciter-webview.dll file. Did I do anything wrong?These are my codes.

webview.html

<html>

<head>
    <title></title>
    <style>
        html,
        body {
            padding: 0;
            margin: 0;
        }

        webview {
            display: block;
            size: 1000;
            background: red;
            behavior: webview library(sciter-webview);
        }
    </style>

</head>

<body>

    <webview src="https://www.sciter.com"></webview>
</body>

</html>

main.rs

use sciter;

fn main() {
    let mut frame = sciter::Window::new();
    frame.load_file("webview.html");
    frame.run_app();
}
<- rust                                                             scapp.exe->

image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions