adding max height and max width to video