This script will set the max height of a video to the available vertical space within the viewport. So the Video AND the controls are visible at every screen ratio (portrait & landscape mode) for responsive layouts.