mirror of
https://github.com/Stremio/stremio-shell-ng.git
synced 2026-01-11 22:40:32 +00:00
Allow autoplay
This commit is contained in:
parent
381f6c4a8d
commit
625a12d422
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ impl PartialUi for WebView {
|
|||
let endpoint = data.endpoint.clone();
|
||||
let hwnd = hwnd as *mut HWND__;
|
||||
let result = webview2::EnvironmentBuilder::new()
|
||||
.with_additional_browser_arguments("--disable-gpu")
|
||||
.with_additional_browser_arguments("--disable-gpu --autoplay-policy=no-user-gesture-required")
|
||||
.build(move |env| {
|
||||
env.expect("Cannot obtain webview environment")
|
||||
.create_controller(hwnd, move |controller| {
|
||||
|
|
|
|||
Loading…
Reference in a new issue