It would be really inefficient to store this as a full HD video for thousands of users.
If you store and mouse movements, scroll events, clicks ...etc and you know what the website looked like then you can replay these to produce something that looks like a video. The bonus points is that you can run mathematically analysis on the clickstream to get things like most clicked area and suchlike.
It's actually the same data that's used in the heatmap just a different visualisation.