I did the things that these sites say:
https://wiki.archlinux.org/title/Hardware_video_acceleration https://wiki.archlinux.org/title/Firefox#Hardware_video_acceleration https://github.com/elFarto/nvidia-vaapi-driver/#firefox
Please help, I cant watch videos!
You could always disable hardware video decode acceleration and continue to watch videos.