Inlined video resizing so it doesn't wait