add video resizing js