Description of the issue:
This is the same as the issue previously reported here: Youtube auto plays every time I put on my airpods
AirPods on macOS have the ability to pause the currently playing media (Youtube) when the user removes them from their ears, and if only one got removed, playing again when it is reinserted.
But with Brave (does not happen with Chrome, Firefox, Safari), when you remove them, it does the opposite: the media begins to play, not pause.
As per the last comment on the previous issue, I went and Disabled the flag #hardware-media-key-handling (which was on Default), restarted Brave and saw that Brave stopped reacting to AirPods. Then I went again and Enabled the same flag, restarted Brave, and now it works correctly as in any other browser!
So this is no longer an issue for me, but maybe it is for others and the “Default” setting on #hardware-media-key-handling should work correctly.
Steps to Reproduce (add as many as necessary): 1. 2. 3.
While having AirPods in your ears:
- Pause Youtube video
- Remove one AirPod
- Video on Youtube will resume playing
- Change Brave flag #hardware-media-key-handling from Default to Disabled and restart Brave
- Change Brave flag #hardware-media-key-handling to Enabled and restart Brave
- AirPods should now work correctly and pause media when removed from ear and resume playing when reinserted
Actual Result (gifs and screenshots are welcome!):
Correct behaviour with flag #hardware-media-key-handling set to Enabled
With flag #hardware-media-key-handling on Default setting, correct AirPod behaviour while playing videos on Youtube
Reproduces how often:
Operating System and Brave Version(See the
About Brave page in the main menu):
macOS 10.14 Mojave, Brave Version 0.67.123 Chromium: 76.0.3809.87 (Official Build) (64-bit)