I am not a Firefox developer but looking at the code there is FFmpeg included at dom/media/platforms/ffmpeg. Unfortunately there is no support for using the system level FFmpeg if available. This would allow for up to date audio/video codec support....