|
@@ -115,8 +115,7 @@ var Chat = (function (my) {
|
115
|
115
|
+ '</div>');
|
116
|
116
|
$('#chatconversation').animate(
|
117
|
117
|
{ scrollTop: $('#chatconversation')[0].scrollHeight}, 1000);
|
118
|
|
-
|
119
|
|
- }
|
|
118
|
+ };
|
120
|
119
|
|
121
|
120
|
/**
|
122
|
121
|
* Sets the subject to the UI
|
|
@@ -158,6 +157,10 @@ var Chat = (function (my) {
|
158
|
157
|
var horizontalIndent = videoPosition[0];
|
159
|
158
|
var verticalIndent = videoPosition[1];
|
160
|
159
|
|
|
160
|
+ var thumbnailSize = VideoLayout.calculateThumbnailSize(videospaceWidth);
|
|
161
|
+ var thumbnailsWidth = thumbnailSize[0];
|
|
162
|
+ var thumbnailsHeight = thumbnailSize[1];
|
|
163
|
+
|
161
|
164
|
if (chatspace.is(":visible")) {
|
162
|
165
|
videospace.animate({right: chatSize[0],
|
163
|
166
|
width: videospaceWidth,
|
|
@@ -165,6 +168,15 @@ var Chat = (function (my) {
|
165
|
168
|
{queue: false,
|
166
|
169
|
duration: 500});
|
167
|
170
|
|
|
171
|
+ $('#remoteVideos').animate({height: thumbnailsHeight},
|
|
172
|
+ {queue: false,
|
|
173
|
+ duration: 500});
|
|
174
|
+
|
|
175
|
+ $('#remoteVideos>span').animate({height: thumbnailsHeight,
|
|
176
|
+ width: thumbnailsWidth},
|
|
177
|
+ {queue: false,
|
|
178
|
+ duration: 500});
|
|
179
|
+
|
168
|
180
|
$('#largeVideoContainer').animate({ width: videospaceWidth,
|
169
|
181
|
height: videospaceHeight},
|
170
|
182
|
{queue: false,
|
|
@@ -200,6 +212,15 @@ var Chat = (function (my) {
|
200
|
212
|
}
|
201
|
213
|
});
|
202
|
214
|
|
|
215
|
+ $('#remoteVideos').animate({height: thumbnailsHeight},
|
|
216
|
+ {queue: false,
|
|
217
|
+ duration: 500});
|
|
218
|
+
|
|
219
|
+ $('#remoteVideos>span').animate({height: thumbnailsHeight,
|
|
220
|
+ width: thumbnailsWidth},
|
|
221
|
+ {queue: false,
|
|
222
|
+ duration: 500});
|
|
223
|
+
|
203
|
224
|
$('#largeVideoContainer').animate({ width: videospaceWidth,
|
204
|
225
|
height: videospaceHeight},
|
205
|
226
|
{queue: false,
|