You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit be14751
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: readme.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ wrap your web demo into a windows exe format, just like a native demo.
22
22
- rename webdemoexe.exe to your demo name
23
23
- add `<autostart/>` into the config to not show the dialog at all and start directly, don't do this if you want to play audio without having another user interaction!
24
24
- add `<domain>yourdomain.localhost</domain>` to customize the virtual host domain (defaults to webdemoexe.localhost)
25
+
- add `<allowrunninginsecurecontent/>` to allow insecure content (for example `ws://` for unencrypted websocket connections)
25
26
26
27
- if the url contains "webdemoexe_exit" it will exit, e.g. use window.location.hash="webdemoexe_exit"
27
28
@@ -30,6 +31,7 @@ wrap your web demo into a windows exe format, just like a native demo.
30
31
- webdemoexe uses [webview2](https://learn.microsoft.com/en-us/microsoft-edge/webview2/) and creates a virtual host from the demo subfolder to run your demo
31
32
- escape to close is handled by webdemoexe
32
33
- if you need to handle escape key manually, add `<propagatekeys/>` in the config.
34
+
- if insecure connections are needed, set `<allowrunninginsecurecontent/>` (equivalent to [WebView flag](https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/webview-features-flags?tabs=dotnetcsharp)`allow-running-insecure-content`)
33
35
- no gesture is needed to auto play audio, if you normally display a play button, make sure it only shows when audiocontext stats is not "running"...
0 commit comments