All I had to do was enable hardware acceleration in the browser settings.
I'm using LibreWolf on Windows 10.