There's no hardware video acceleration in browsers on linux.
You can patch Chromium but no distros ship it like that.
If you'd like I'm happy to provide references to Chromium and Firefox bugtrackers that support the above.
Eg.: https://bugzilla.mozilla.org/show_bug.cgi?id=1210727
https://bugs.chromium.org/p/chromium/issues/detail?id=137247
"Enable VAVDA by default on Linux for VA-API-assisted HW video decode
Currently there are no plans to do this"
Chrome ships libavcodec/ffmpeg bits because they've paid the license fees.