Video Height

I would like to know if it is possible to adjust the video window height based on the different video formats: this to avoid the 2 black bars on top and bottom of the video, when the format is for example 1280x720.
If not, is any css available (using for example a rich test)?