Fixes an issue with black thumbnails
This commit is contained in:
parent
abe3ef199f
commit
6cf96c5d72
|
@ -166,7 +166,10 @@ var VideoLayout = (function (my) {
|
|||
largeVideoState.newSrc = newSrc;
|
||||
largeVideoState.isVisible = $('#largeVideo').is(':visible');
|
||||
largeVideoState.isDesktop = isVideoSrcDesktop(jid);
|
||||
if(jid2Ssrc[largeVideoState.userJid]) {
|
||||
if(jid2Ssrc[largeVideoState.userJid] ||
|
||||
(connection && connection.emuc.myroomjid &&
|
||||
largeVideoState.userJid == Strophe.getResourceFromJid(connection.emuc.myroomjid)))
|
||||
{
|
||||
largeVideoState.oldJid = largeVideoState.userJid;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue