Maybe just don't watch videos inside your Browser. You know there's youtube-dl+mpv?
iina is open source and have a lot of codec available.
I don't know if it change something on energy consumption, though.
mpv https://www.youtube.com/watch?v=oHg5SJYRHA0