-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Show media notifications for player controls (Linux) #16187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show media notifications for player controls (Linux) #16187
Comments
@bridiver, this issue only occurs in the linux snap build, can you add the OS/Linux/snap label to this issue? |
MPRIS enables desktop environments (e.g. GNOME) to provide media player controls for media playing in the browser. Brave uses DBus name `org.mpris.MediaPlayer2.chromium` whereas Snap sets an AppArmor rule for `org.mpris.MediaPlayer2.brave` by default. Setting the name parameter explicitly for the slot makes Snap generate a compatible AppArmor rule. Fixes brave/brave-browser#16187
MPRIS enables desktop environments (e.g. GNOME) to provide media player controls for media playing in the browser. Brave uses DBus name `org.mpris.MediaPlayer2.chromium` whereas Snap sets an AppArmor rule for `org.mpris.MediaPlayer2.brave` by default. Setting the name parameter explicitly for the slot makes Snap generate a compatible AppArmor rule. Fixes brave/brave-browser#16187
We added a work-around in brave/brave-browser-snap#19, but the real fix is to expose the correct service name instead of |
Verification passed on
Verified controls are shown when playing youtube video: Verified playlist on youtube is supported Verified controls are shown when playing rumble video: Verified test plan from brave/brave-core#17440 |
Description
It would be convenient to have a notification with media buttons whenever a video or an audio track is being played in the browser. That way it would be possible to control the player from the notification menu while using another application rather than switching to Brave every time.
Preview
Brave version (brave://version info)
The text was updated successfully, but these errors were encountered: