Bluetooth audio stops on Chromium browsers when playing YouTube videos

I’ve had this issue for a long time, probably since using Manjaro. Sometimes when I play a YouTube video on a Chromium browser such as Google Chrome or Brave, the audio from my Bluetooth Galaxy Buds Live stops working. To regain audio, I have to open pavucontrol and select the profile “High Fidelity Playback (A2DP sink).” Any ideas on how to debug this?