Video event handler.