added function for pushing video to canvas