Capturing screen in a video and adding listeners for mouse coordinates afterwards