number calculate_height( width )

Description:

Given a width, calculate an appropriate height from the video's aspect ratio.

Parameters:

width

The width you intend to display the video as.

Return:

The height to use for the given width. Returns 0 if an invalid width is passed.