created the video and recording handlers