Video: Add heartbeats to video logging

As a researcher, I would like an indication of whether students still have a video playing on their screen so that I have a better idea of whether they are getting the educational benefit of watching the lecture.

*Reviewers:*
**@valera-rozuvan**
**@nedbat**