Not sure what you mean, but my AirPods have been working fine with Firefox, including the double tap for skipping to next song gesture. Provided that you have those options enabled.
To make it clear, I mostly listen to YouTube Music in Firefox. If the website has support for media keys, then it should work.
I mostly mean pausing and playing when taking them out or switching devices. Currently when watching YouTube videos the audio just starts playing on speaker. Will try out these options and see if that fixes it.
You could already do that, if you turned on those options from about:config. You can also turn on the forward button for skipping to the next song.
The two settings were:
- media.hardwaremediakeys.enabled = true
- dom.media.mediasession.enabled = true