Monitor flashes black when starting video files, opening folders with video files

As far as I can tell, this will be down to one or two things:

If you have any codec packs, try removing them as they can be to blame.

If it still happens, try updating your graphics drivers, however, if it is not Codecs, I fear it could be a faulty graphics adapter.