[Qtwebengine] Override chrome flags to disalbe hardware-media-key-handling

Elias Steurer i at kelteseth.net
Thu May 21 18:35:18 CEST 2020

Hi there,

I'm developing the FOSS app ScreenPlay <https://screen-play.app/>that 
uses the WebEngine to play videos as desktop wallpapers. Many users 
complain that the wallpaper triggers the Windows media key overlay when 
using a hardware key to pause their music. This can be disabled in 
chrome via :

  * chrome://flags/#hardware-media-key-handling

But I have not found a way to disable this behaviour in the QWebEngine 
anywhere. Is there a way to do this in c++ or via some settings config?

ScreenPlay Issue:https://gitlab.com/kelteseth/ScreenPlay/-/issues/84 


Elias Steurer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qtwebengine/attachments/20200521/9da2d4b5/attachment.html>

More information about the QtWebEngine mailing list