added height and width of surface and time of video