Closed webmastak closed 4 years ago
This is a Chrome bug. They do not take down their interface after it's not needed anymore. It also has the nasty effect of stealing and never releasing the mediakeys. Their MPRIS implementation is shit.
But still where you can insert this piece of code to make it work?
let name_regex = /^org\.mpris\.MediaPlayer2\.(?!chrome)/; // exclude chrome
if (name_regex.test(player_name)) {
....
}
Or how else can you exclude Chrome?
You can disable mpris in chrome.
How to do it?
Figured out: chrome://flags/#hardware-media-key-handling Disabled
When watching a video on youtube, a player appears, but after closing the tab, he does not disappear. To hide the player you have to close Chrome.
I can’t figure out where you can insert this piece of code to make it work?
I don't need a Chome player. Chrome already has a built-in.