The easiest way is to use a FF extension (add-on). I have not found a
satisfactory one for Chrome/ Chromium yet. The FF one that I like is called
DownloadHelper and I have used it successfully for many years. It will not
work (none will) if the video is not cached. Some videos will do this to
prevent copying. You can save the video in various qualities and it can
capture just about every format from flv to avi and mp4. It can convert
from one format to another as well.