Added video resizing