it was VideoElement.videoHeight not .height