This can happen if your machine does not have the full range of video codecs in place. This may resolve your issue:
sudo apt install ffmpeg
No restart is necessary.
Chrome uses its own internal codec package, so this issue isn’t seen as often.