|
|
|
@ -115,8 +115,7 @@ var Chat = (function (my) { |
|
|
|
|
+ '</div>'); |
|
|
|
|
$('#chatconversation').animate( |
|
|
|
|
{ scrollTop: $('#chatconversation')[0].scrollHeight}, 1000); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Sets the subject to the UI |
|
|
|
@ -158,6 +157,10 @@ var Chat = (function (my) { |
|
|
|
|
var horizontalIndent = videoPosition[0]; |
|
|
|
|
var verticalIndent = videoPosition[1]; |
|
|
|
|
|
|
|
|
|
var thumbnailSize = VideoLayout.calculateThumbnailSize(videospaceWidth); |
|
|
|
|
var thumbnailsWidth = thumbnailSize[0]; |
|
|
|
|
var thumbnailsHeight = thumbnailSize[1]; |
|
|
|
|
|
|
|
|
|
if (chatspace.is(":visible")) { |
|
|
|
|
videospace.animate({right: chatSize[0], |
|
|
|
|
width: videospaceWidth, |
|
|
|
@ -165,6 +168,15 @@ var Chat = (function (my) { |
|
|
|
|
{queue: false, |
|
|
|
|
duration: 500}); |
|
|
|
|
|
|
|
|
|
$('#remoteVideos').animate({height: thumbnailsHeight}, |
|
|
|
|
{queue: false, |
|
|
|
|
duration: 500}); |
|
|
|
|
|
|
|
|
|
$('#remoteVideos>span').animate({height: thumbnailsHeight, |
|
|
|
|
width: thumbnailsWidth}, |
|
|
|
|
{queue: false, |
|
|
|
|
duration: 500}); |
|
|
|
|
|
|
|
|
|
$('#largeVideoContainer').animate({ width: videospaceWidth, |
|
|
|
|
height: videospaceHeight}, |
|
|
|
|
{queue: false, |
|
|
|
@ -200,6 +212,15 @@ var Chat = (function (my) { |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
$('#remoteVideos').animate({height: thumbnailsHeight}, |
|
|
|
|
{queue: false, |
|
|
|
|
duration: 500}); |
|
|
|
|
|
|
|
|
|
$('#remoteVideos>span').animate({height: thumbnailsHeight, |
|
|
|
|
width: thumbnailsWidth}, |
|
|
|
|
{queue: false, |
|
|
|
|
duration: 500}); |
|
|
|
|
|
|
|
|
|
$('#largeVideoContainer').animate({ width: videospaceWidth, |
|
|
|
|
height: videospaceHeight}, |
|
|
|
|
{queue: false, |
|
|
|
|