To play video you may need to install the required video codecs
Firefox doesn't play videos compressed with patented video codecs like H.264 without an external assist.
On Linux, I think Firefox looks for the FFmpeg package to be installed on the OS.
sudo apt update
sudo apt install ffmpeg