Skip to content

Commit

Permalink
nui: allow non-interactive autoplay (fixes compat issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
astatine committed Mar 6, 2018
1 parent 14f1c48 commit abb3259
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/components/nui-core/src/NUIApp.cpp
Expand Up @@ -58,6 +58,7 @@ void NUIApp::OnBeforeCommandLineProcessing(const CefString& process_type, CefRef
command_line->AppendSwitch("disable-direct-composition");
command_line->AppendSwitchWithValue("default-encoding", "utf-8");
command_line->AppendSwitch("disable-gpu-vsync");
command_line->AppendSwitchWithValue("autoplay-policy", "no-user-gesture-required");

if (IsWindows10OrGreater())
{
Expand Down

0 comments on commit abb3259

Please sign in to comment.