Fixes resize if video is not ready
This commit is contained in:
parent
59435c6020
commit
d269ac7377
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user