This is the VideoMEG matlab code from https://github.com/andreyzhd/VideoMEG with some small FieldTrip-specific changes by Robert Oostenveld.

