Added code to resize videos properly