Changed resize to event to be on the window instead of videojs because it wasnt working for android