Hi all,
in my app that uses wxWebViewEdge i need the option to autoplay videos
(usually browsers allow to play videos only as a reaction to an user
action). That would be possible by adding a startup parameter to
WebView2 ( "--autoplay-policy=no-user-gesture-required" )
https://stackoverflow.com/questions/68709227/how-to-enable-media-autoplay-in-microsoft-webview2/68727650#68727650
There is already code in the wxWebViewEdge implementation that sets a
custom user agent that way.
It would be great if this could be generalized to add any custom
browser argument, so that i could set the above mentioned option.
Thanks.
Eric