|
|
@@ -169,14 +169,16 @@ var VideoLayout = (function (my) {
|
|
169
|
169
|
oldContainer.removeClass("videoContainerFocused");
|
|
170
|
170
|
}
|
|
171
|
171
|
|
|
172
|
|
- // Unlock current focused.
|
|
|
172
|
+ // Unlock current focused.
|
|
173
|
173
|
if (focusedVideoSrc === videoSrc)
|
|
174
|
174
|
{
|
|
175
|
175
|
focusedVideoSrc = null;
|
|
|
176
|
+ var activeSpeakerVideo = null;
|
|
176
|
177
|
// Enable the currently set active speaker.
|
|
177
|
178
|
if (currentActiveSpeaker) {
|
|
178
|
|
- var activeSpeakerVideo = document
|
|
179
|
|
- .getElementById('participant_' + currentActiveSpeaker);
|
|
|
179
|
+ activeSpeakerVideo
|
|
|
180
|
+ = $('#participant_' + currentActiveSpeaker + '>video')
|
|
|
181
|
+ .get(0);
|
|
180
|
182
|
|
|
181
|
183
|
if (activeSpeakerVideo)
|
|
182
|
184
|
VideoLayout.updateLargeVideo(activeSpeakerVideo.src, 1);
|