add max width to video