capture video of canvas