Yeah that's my point, but I'm not sure if codec support is implemented outside of that.
Nope, it's implemented in the browser engine. I honestly find it funny that, for example, Opera, Edge and Chrome are supposedly different browsers, even though it's all actually Chromium and there is no meaningful difference.