Especially on YouTube where I believe there’s an issue with Firefox not using the most efficient encoding on the videos.
This YouTube page will show which codecs are currently enabled in your browser: https://www.youtube.com/html5
Safari doesn't understand VP9. So Youtube pushes H.264 video which can be hardware accelerated.
To force youtube to send H264 in firefox/chrome you need something like https://addons.mozilla.org/en-US/firefox/addon/h264ify/
This YouTube page will show which codecs are currently enabled in your browser: https://www.youtube.com/html5