johndyer/mediaelement — pull request #1274 by maimairel (2014-08-10 14:11:26+00:00)
Title: Fix for bugs caused by #1055

Hi,

This PR keeps PR #1055, but adds a work around for zero height containers.
When a video has width: 100%; height: 100%; on its style attribute, like on the code below the container's height would be zero.
``

This PR fixes this by checking if the parent height is not zero before assigning it as the calculated height.

Thanks!