I recently upgraded to Fedora 34 (clean install), and I’m experiencing an issue with video/GIF playback in Firefox. The problem is that videos and GIFs on Twitter have a very low frame rate during playback. I’ve also tried playing videos on YouTube and they work fine. The previous versions of Fedora always required me to install some packages to make video playback on Twitter work properly, but this time it worked out of the box, but with the issue I described.
Does anybody know why this is happening? Do I need to install some packages?