Fixes resize if video is not ready

This commit is contained in:
perroned 2017-02-27 20:09:50 +00:00
parent 59435c6020
commit d269ac7377

View File

@ -282,6 +282,10 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
}
private function fitVideoToWindow():void {
if (this.video == null) {
return;
}
if (this.width < this.height) {
fitToWidthAndAdjustHeightToMaintainAspectRatio();
} else {