added event tracking to video