taurijs mute current window?
is there any specific way to mute a current opened window using taurijs?
instead of muting a specific video / audio elements i prefer the whole window object to be muted. Sorry, is this possible? I didnt found it from the documentation...
Regards,.
On windows there's indeed a setting for this https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_8?view=webview2-1.0.2420.47&preserve-view=true#summary
But i can't seem to find anything for Linux & macOS. The next closes thing is a way to pause all media completely https://developer.apple.com/documentation/webkit/wkwebview/3752240-pauseallmediaplaybackwithcomplet but it requires quite recent os versions (even if we factor in the deprecated pauseAllMediaPlayback: api too)