|
|
@@ -57,7 +57,7 @@ function getDesktopVideoSize(videoWidth,
|
|
57
|
57
|
availableHeight = availableWidth / aspectRatio;
|
|
58
|
58
|
}
|
|
59
|
59
|
|
|
60
|
|
- return { availableWidth, availableHeight };
|
|
|
60
|
+ return [ availableWidth, availableHeight ];
|
|
61
|
61
|
}
|
|
62
|
62
|
|
|
63
|
63
|
|
|
|
@@ -106,7 +106,7 @@ function getCameraVideoSize(videoWidth,
|
|
106
|
106
|
}
|
|
107
|
107
|
|
|
108
|
108
|
|
|
109
|
|
- return { availableWidth, availableHeight };
|
|
|
109
|
+ return [ availableWidth, availableHeight ];
|
|
110
|
110
|
}
|
|
111
|
111
|
|
|
112
|
112
|
/**
|
|
|
@@ -239,7 +239,7 @@ class VideoContainer extends LargeContainer {
|
|
239
|
239
|
}
|
|
240
|
240
|
|
|
241
|
241
|
resize (containerWidth, containerHeight, animate = false) {
|
|
242
|
|
- let { width, height }
|
|
|
242
|
+ let [width, height]
|
|
243
|
243
|
= this.getVideoSize(containerWidth, containerHeight);
|
|
244
|
244
|
let { horizontalIndent, verticalIndent }
|
|
245
|
245
|
= this.getVideoPosition(width, height,
|
|
|
@@ -251,8 +251,8 @@ class VideoContainer extends LargeContainer {
|
|
251
|
251
|
this.$avatar.css('top', top);
|
|
252
|
252
|
|
|
253
|
253
|
this.$wrapper.animate({
|
|
254
|
|
- width,
|
|
255
|
|
- height,
|
|
|
254
|
+ width: width,
|
|
|
255
|
+ height: height,
|
|
256
|
256
|
|
|
257
|
257
|
top: verticalIndent,
|
|
258
|
258
|
bottom: verticalIndent,
|