Made resizing work better (doesn't need to reload the video). Also added looping functionality.